Posts

Abstract Class vs Interfaces?

Looking back, a review of concepts. Abstract Class  - is a kind of class that cannot be instantiated, Abstract class can only be inherited from or subclassed, thus enforcing hierarchy and forces derived classes to inherit the same methods and properties. Abstract Class may contain abstract methods which does not contain implementations. Interfaces- is not a class, it only contains signatures of methods and properties but has no implementation. class can implement more than one interface as oppose to classes being able to inherit from only one base class or abstract class since C# does not allow multiple inheritance.

Going back to my roots

It's been more than a year since I joined Cognizant as a .Net Developer, though the title says it unfortunately majority of the task were merely support and maintenance, data fixes and mostly analysis, though I've developed numerous tools  using .Net which the team was able to use, I miss really doing coding, I decided to go back to my roots and be a programmer again, welcoming 2015.

Projects and Involvement : Update

Name of Project Details CMI Utilities Cognizant Technology Solutions CMI Utilities are small utilities developed for the CMI Production Support Team. -           Batch Job Monitoring Tool -           Error Analysis and Job Status Report Generator -           ORC Server Information Extractor -           Control Sheets File Generator. Role: Developer/ Production Support Technologies:     Microsoft C#.Net, .Net Framework 4.5, Microsoft Setup and Deployment Package,     SQL Server 2008. Shell Lube Bay Rewards GreatMinds Collaboration IT Solutions Inc. An Android mobile application used by Shell customers for earning and claiming rewards. Role: Project  Lead Technologies:  ...

Learning Android Development with Android Studio.

Started doing android development using Android Studio so far I'm now comfortable using android studio IDE, able to use the shorcut keys but still trying to get the hang of using VIM emulator (they say its good), I've gain understanding of what an activity, fragment, service provider is, as well as the controls such such as layout, spinner and others. Here is my Stack: Android Studio Gradle Butterknife Retrofit. So far, I've completed one project on my own and the other one as a joint project with an expert android dev.

XML to ExpandoObject using Recursion in C#

Here's how to convert XML to an ExpandoObject using recursion. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 public static dynamic ToExpando ( this XDocument document) { return CreateExpando (document.Root); } private static dynamic CreateExpando (XElement element) { var result = new ExpandoObject() as IDictionary< string , object >; if (element.Elements().Any(x => x.HasElements)) { var list = new List<ExpandoObject>(); result.Add(element.Name.ToString(), list); foreach ( var childElement in element.Elements()) { list.Add(CreateExpando(childElement)); } } else { foreach ( var leafElement in element.Elements()) { result.Add(leafElement.Name.ToString(), leafElement.Value); } } return result; } Happy Coding!

Successfully Migrated and Deployed FilGlobal Site to Windows Azure.

http://filglobal.azurewebsites.net/

MVC in a nutshell

Trying to explain MVC in a very simple way. How do we tell people about MVC, for none technical person or to just someone interviewing you for a job? I did some research to further strengthen my knowledge in MVC. Here's how. So what is MVC? MVC stands for  Model - View - Controller , okay hmm.. doesn't make sense yet. Let's define each. Model -  model is all about data and nothing else. View -  view is simply our presentation layer, what users sees on the front end. Controller -  this is where the magic happens it contains the logic or actions being called by the view. So what's the advantage of using MVC? *Advantages of MVC Model Enable clean separation of concerns (SoC) . Enable full control over the rendered HTML. Enable Test Driven Development (TDD) (built with TDD in mind). SEO and REST friendly URL. Easy integration with JavaScript frameworks. Support third-party view engines such as NVelocity, Brail, NHaml. No ViewState and Post...