I saw this somewhere in my daily reading list (I religiously browse my Google Reader at the start of the day). I thought to myself that the blog author probably had negative experiences with programmers or architect types who place too much emphasis on design patterns. I agree that people who give too...
Here is a link to an article about the model view presenter design pattern . The article was created by one of the gurus in the field , Rod Cerrada. Read More on this Article.
1. SOAP and XML Web Services is not simple. MS Visual Studio, Disco.exe and WSDL.exe makes it simple but it's not simple.(who the hell said it's simple) 2. I just finished reading this Thread at the Microsoft Community Forums and all I can say is...Patterns provide repeatable solutions but it's...
I've been working with alot of Ajax lately(this includes code and laundry :P) and just realized that i've been doing some unecessary code after reading this article . I think I got hooked so much with the Ajax-hoopla that I forgot that not everything should be done via Ajax. Below is an outline of what...
So that's what they call it, FluentInterface . I've noticed this when i first encountered query construction in NHibernate in constructing a query using a criteria: IList cats = sess.CreateCriteria(typeof(Cat)) .CreateAlias("Kittens", "kt") .CreateAlias("Mate", "mt") .Add( Expression.EqProperty("kt.Name...
Here is my version of Hello World. I call this, Pluggable HelloWorld! :) Greeting.java, which all Classes must implement to be a plug-in. 1 2 3 4 5 6 package ph.devpinoy.helloworld; public interface Greeting { public String sayGreeting(); } HelloWorld.java 1 2 3 4 5 6 7 8 9 package ph.devpinoy.helloworld;...
I'm really feeling so tired as I'm writing this post. But that's not to stop me as I am very happy to have learned something new. While I was studying client's code, Converting from PHP to Java. I didn't quicly realize the how script.aculo.us and Prototype.js makes your javascripting life so much faster...
The ListCollectionView is a WPF wrapper for an IList. When you add or remove something from the IList, the ListCollectionView must be notified of the change by calling its OnCollectionChanged method so it can sync with the IList. The problem is, OnCollectionChanged is a protected method i.e. we can't...
About two nights ago, I learned how to use an external XAML in a WPF application. It was so simple. Just read the XAML, parse it, and then wire the elements to your code. Now if this is how we are supposed to code in WPF, then I might just as well stick to WinForms. Fortunately XAML was not designed...
I was lurking in javaranch when I bumped into this interesting thread. http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=017627 I didn't know you could actually break down your web.xml into smaller pieces. It's annoying when everything gets bloated up with code... <...
for a command to be undone, we need to store it somewhere. to facilitate this, we need to create a class for every command and we also need to create a class that will process and then store these commands upon request. interface ICommand { void Execute(); void UnExecute(); } the code above shows the...