Posted on October 24, 2007 by Adam Esterline
Ruby on Rails has inspired a whole generation of MVC Web Frameworks. The RoR inspired frameworks follow the same basic design; Controllers whose public methods are web endpoints. So…Do RoR based MVC Web Frameworks encourage good design?
MonoRail and MS MVC are a part of the RoR generation.
They must. Right? I [...]
Filed under: Blog | Tagged: Agile, C#, MonoRail, MS MVC, TDD | 7 Comments »
Posted on October 14, 2007 by Adam Esterline
I am giving a MonoRail talk, at HDC 07, on Thursday morning.What questions do you think I should be prepared to answer?Here is a list of questions, and answers, that I typically get, and give, about MonoRail.Why would I use (care about) MonoRail?
Separation of concerns makes your application easier to test.
Microsoft will soon be releasing [...]
Filed under: Blog | Tagged: C#, Conference, HDC07, MonoRail | 2 Comments »
Posted on October 11, 2007 by Adam Esterline
Scott Guthrie gave us our first look at the the new Microsoft MVC framework at ALT.NET. I took special care, while watching the video, to answer one question.What, if anything, can MonoRail learn from MS MVC?
Routing - RoR and MS MVC treat Routing as a first class citizen. Routing in MonoRail [...]
Filed under: Blog | Tagged: Agile, C#, MonoRail, TDD | 5 Comments »
Posted on October 9, 2007 by Adam Esterline
Update: Ayenda replied with the following
This is Rhino Commons repository + NHibernate Query Generator code.
Ayende posted an example of a great query DSL. Is this real? If so, where can I download this framework?
ICollection<Event> eventsInTwoDays = Repository<Event>.FindAll( Where.Event.ScheduledDate == DateTime.Today.AddDays(2) && [...]
Filed under: Blog | Tagged: ActiveRecord, MonoRail, NHibernate | 2 Comments »
Posted on October 7, 2007 by Adam Esterline
I want to thank the person that added my blog as a reference for MonoRail on Wikipedia. I am flattered.Thanks.
Filed under: Blog | Tagged: Agile, C#, MonoRail | 1 Comment »
Posted on October 4, 2007 by Adam Esterline
On my last project, James and I started the slogan “No Dots”. “No Dots” reminds us that templates/views are “documents with holes” and should contain a very minimum amount of logic.
I amended the slogan to be: “Zero or One Dot”. You will see why shortly. The amended version was [...]
Filed under: Blog | Tagged: Agile, MonoRail, TDD | 3 Comments »
Posted on August 27, 2007 by Adam Esterline
We are finishing up our eight month development effort on sothebyshomes.com. Knowing what we do now, “What would we do different?”.I think most of my team would say; Dynamic Actions. What are Dynamic Actions?
Dynamic Actions are a way to associate code with a name in runtime.
What exactly does that mean? [...]
Filed under: Blog | Tagged: Agile, MonoRail, TDD | 1 Comment »
Posted on August 15, 2007 by Adam Esterline
Update: James did not think my original post was very clear (and I agreed). I hope that this new version is easier to read and understand.
We use the technique described in MonoRail: Sending Emails to send emails from our controllers. Our emails, in some cases, have many recipients in the to, [...]
Filed under: Blog | Tagged: Agile, MonoRail, TDD | 3 Comments »
Posted on July 26, 2007 by Adam Esterline
(update: Added more information to the example.)After discovering how to count an associated collection without initializing it, I wondered if it was possible to page an associated collection in Castle’s ActiveRecord.After a little searching, I found out it is possible to page a collection (and not that much different than counting an associated collection). [...]
Filed under: Blog | Tagged: Agile, MonoRail, TDD | 3 Comments »
Posted on July 24, 2007 by Adam Esterline
While trying to resolve the following exception from NHibernate, I (re)learned an important lesson in performance tuning.
Exception type: ADOExceptionException message: could not initialize a collection:
We receive the above exception when our site is under high load (topic for another post). The collection that it complains about most is the OpenHouses collection in Listing. [...]
Filed under: Blog | Tagged: Agile, MonoRail, TDD | 7 Comments »