Archives
-
Generate ActiveRecord Classes from Existing DB Schema
GeneratorStudio is a project on CodePlex used to automate the creation of Castle ActiveRecord classes from existing database schema. I haven't downloaded it yet to play around with it, but it looks like it would be a nice thing to have if you have a large (or even medium) schema that's already in production and you'd like to start using Castle ActiveRecord for DB access.
-
Mock Databases and ActiveRecord
Fellow SRT employee Jay Harris has a great post on using SQLite's in-memory database feature to mock his database. He points out a few of the factors that drove him to investigate such an approach:
-
SRT to host PDC Keynote Remote Viewing
Register now. Seating is limited. Thanks to Microsoft for sponsoring lunch! Here's the details:
-
Tweaking my color settings
Like many developers, I spend a lot of time reading and writing code every day. After hearing so many developers praise the "dark background/light text" colors that have become popular, I decided to switch too. I did some research and found a theme I really liked. I tweaked it very slightly and have been using it ever since. It is much easier on the eyes.
-
ActiveRecord and a Custom NHibernate PrimitiveType
I was intrigued by Steve Smith's blog post yesterday about reducing SQL Lookup tables in nHibernate. He gave an example of a WorkOrderStatus class the exposed the actual status as a POCO object that wasn't stored in the database. What really piqued my interest was the following comment:
-
Project Eurler #12
I see that Bill did Euler #11 earlier this week so I thought I'd tackle #12.
-
Playing around with ASP.NET MVC
As I'm a big fan of Castle Project's MonoRail, I often get asked my opinion of the ASP.NET MVC stuff Microsoft is working on. And I always have the same answer -- I've seen some demos but haven't actually played around with it. So I took some time tonight and installed it.
-
ActiveRecord + HQL and an "IN" clause
Late last year as I was using MonoRail and ActiveRecord for a simple web application. I was helping my local church find volunteers with various skills to teach some basic computer courses to the the church staff. I wanted to keep track of the volunteers along with the skills they had. I used this as another opportunity to learn more about MonoRail and ActiveRecord.