Maher Ali Website
Agnostic atheist, Programming, Philosophy, Modelling, Science
Life is just lines of code ...
Saturday, 1 June 2013
Wednesday, 27 February 2013
Codility review
How to find good programmers, it's not an easy task these days, some people consider programming to be the practice of dragging and dropping some controls on a form, writing some events, connecting to databases and voila you've gotten a working product.
This kind of programmers are the joy killers, what's really interesting about programming is problem solving techniques, something similar to ACM contests, it's about the way we think and make decisions under time critical conditions.
Labels:
general,
Programming
| Reactions: |
Saturday, 9 February 2013
OEC Visual studio add-in and nuget support
When it comes to extending the entity classes and adding some features not supported (yet) by RIA services, I had to add a lot of boilerplate code, this is because it’s impossible to change the behaviour of the base class (Entity), so the only way was to add interfaces to support the required behaviour. Hence, in ObservableCollection library you’ll find ICollectionChanged interface, which should be implemented by any Entity that would expose some ObservableEntityCollection(s).
Labels:
C#,
MVVM,
ObservableEntityCollection,
Programming,
Silverlight
| Reactions: |
Friday, 18 January 2013
DevExpress DXWindow Control and XAML Designer
If you are using DevExpress controls, you probably encountered a very annoying issue related to one of the Silverlight controls, it’s the DXWindow control. the problem is when you add new DXWindow to Silverlight project , then all you see is a small squared border control, you can’t interact with the control directly through XAML designer, this is the moment when Microsoft Expression Blend becomes Microsoft Blind, who turned off the designer.
Labels:
C#,
Programming,
Silverlight
| Reactions: |
Sunday, 23 December 2012
WCF RIA Serializing EntityCollection, a workaround
WCF RIA Service is still an immature framework, it's given to you as easy-to-implement solution for RIA applications, but at the cost of following their paradigm. When I want to implement what I consider one of the most crucial features in modern application like: partial updates, this framework itself becomes an obstacle.
Labels:
C#,
ObservableEntityCollection
| Reactions: |
Tuesday, 27 November 2012
ObservableEntityCollection–Wrapping the EntityCollection
In my applications, most of time I have a parent Entity and child items where I need to provide the user with visual hint when something changed in the Entity by changing the background color, this gives the application the professional behaviour expected by any user. this should be done through binding and MVVM. These changes include the following: changing one attribute on the parent, changing an attribute on one of the child items, deleting or removing child items. All these operations should mark the entity as dirty.
Usually we create EF model in the solution, and WCF RIA service to use this model, we except everything to work fine after just connecting the Silverlight application with the web application, and for simple scenarios it does, but when you want to add some nice-to-have features you will come across limitations.
Labels:
C#,
MVVM,
ObservableEntityCollection
| Reactions: |
Friday, 16 November 2012
Subscribe to:
Posts (Atom)



