TerrenceRyan.com

I'm a 35 year old redhead geek from Philly.
I'm currently a Developer Evangelist for Adobe.
Also the author of Driving Technical Change

Project: Squidhead

9 Comments

I've been reading Peter Bell and drinking the application generation Kool-Aid. To that end, I've been working on what I consider a development tool, but others I have talked to have called a baby framework. My gut feeling is that it might be a little bit too specialized for mass consumption, but I figured I would see if anyone else could use something like this.

For this to make sense I need to tell you a bit about my workplace environment:

With all of that in mind, I took at look at maybe developing something that would get rid of our most repetitive tasks. So I built a stored procedure creator that I extended, and extended until now, it actually does a whole CRUD application albeit a crude one.

In a nutshell here's what it does:

Then it does a second pass.

Finally:

There are a few restrictions on its use:

I've found that this sort of thing is much better received with a demonstration. Please check out this Demonstration of what it can do.

Also I have a sample of what I think its killer feature is: it analyzes all stored procedures in the database, not just the ones it wrote. So you can write your own stored procedures, press a button, and have the code generator frame out the CFC calls for it. Here is a Demonstration of this in action.

It's worth it to say that this borrows a lot of successful patterns from Reactor for ColdFusion and ModelGlue. However, it is not as complex, flexible or powerful as either of these two. Let me make that very clear, so I don't get any flame here. This is far inferior in terms of feature set and flexibility than either of these solutions. There is a lot this thing doesn't do. But is also doesn't require you to come completely over to the frameworks camp. It doesn't require you to learn MVC. To that end, it fits my environment. I think it could be a good bridge between going it alone, and a full flexible, powerful, framework.

Would this be useful to anyone else, or am I right in thinking it's too specific to our environment?

9 responses so far ↓

  • 1 Kris Brixon

    Awesome, I did something recently similar for Oracle but without the stored procedures. I needed to make a prototype and creating a code generator was quicker than writing the CRUD functions. What language did you write this in? Writing a code generator in CF for CF is confusing.
  • 2 Rick Mason

    I think that it would help a lot of people. There are lots of good reasons to used stored procedures and it would automate things for many with homegrown frameworks.
  • 3 Nathan Drury

    Sounds great. Would be very useful for me. I'm interested in code generation so it would be interesting from a "how did he do it" perspective too.
  • 4 Terrence Ryan

    Great, well I'll clean up the code and make it available publicly then. Expect something next week.
  • 5 Peter Bell

    Hi Terrence, Glad to see you're drinking the Kool-aid :-> Looks like a great project and I see it is up on RIA Forge at http://squidhead.riaforge.org/. Will definitely have to check this out!
  • 6 Peter Bell

    BTW, any tricks for how you put the flash demo together or did you just do it manually in flash?
  • 7 Terrence Ryan

    Thanks for the encouragement, Peter.

    Actually, I made the demos with an Adobe product named Captivate (used to be RoboDemo). It's really a good product that makes doing that sort of thing, extremely easy.
  • 8 Phillip Senn

    This is really great! By the time a programmer starts copying/pasting the same subroutine (sproc) for the 3rd or 4th time, he starts to think about an application generator.
    I encourage you to take a look at Paul Nielsen's logging stored procedure that he's posted at www.sqlserverbible.com.
    It looks at all the tables and builds triggers to log any changes.
  • 9 Terrence Ryan

    Thanks Phil, I'll check it out.

Leave a Comment









Categories

Monthly Archives

Tag Cloud

coldfusion web development flex coldfusion builder appearances squidhead coldfusion builder extensions higher ed flash builder air mobile android adobe apptacular html5 driving technical change running a coldfusion shop adobemax06 movable type flash catalyst flash blackberry adobemax07 adobemax08 hero finicky css adobemax09 holy crap i’m a mobile developer centaur basecamp cfc unfuddle motorola metablog irrational characters ios git evangelism devices code reviews ant wharton subversion security phonegap philly philadelphia multidevice knowledge@wharton jobs browserlab adobemax10 adobe tv unfuddlecfc svnauth.cfc semantic html semantic html responsive web design qnx nlb linux jquery mobile java it github flexorg fireworks edge eclipse dreamweaver apps apple adobemax11