Plugins for Wheels

14 views
Skip to first unread message

Chris Peters

unread,
Jun 29, 2008, 10:05:57 PM6/29/08
to ColdFusion on Wheels
I've heard some sentiments from you guys that we should have a plugins
system for Wheels. I'm all for it, but I was wondering if anyone would
like to "own" this. I don't want to volunteer for everything or else I
will go INSANE.

Also, I'm listing out 0.8 milestone features on our Google Code site.
Go there and have a review. I'm tentatively the owner on some of the
issues, but if you feel passionate about any of the items and would
like to take a crack at them, let me know.

Also also, if you're currently working on anything else, please post
it as an issue in Google Code. I know Per is working on something...
Per, can you add an item to the list that describes what you're
scheming? :)

Here is a list of features slated for Release 0.8. See anything
missing that you feel is crucial? Let me know. I've tried making a
first pass at your ideas and made some judgment calls on what would be
appropriate and realistic.

1. Unit Testing Methodology
2. Modules: Method of Grouping Controllers
3. Change all under_scored Names to camelCased Names
4. Move Database-Specific Code into Appropriate Adapters
5. Rename Singular Folder Names Back to Plural

Maybes...
Oracle Support?
Plugins?

tpet...@gmail.com

unread,
Jun 29, 2008, 10:34:18 PM6/29/08
to ColdFusion on Wheels
might i also suggest that we create something similar to rake? i like
the fact that with rails you can run different rake commands to
accomplish mundane tasks and creating stubs for say plugins or an
entire rails app. it's understandable that we would have to make
something that could be invoked very the url since we don't have a
command prompt available to us like ruby.

Chris Peters

unread,
Jun 29, 2008, 10:34:47 PM6/29/08
to ColdFusion on Wheels
FYI, I'm feeling an urgency to write the chapter in the Docs called
"Contributing to Wheels." I'll be drafting something up in the Wiki as
a starting point. I'll let you guys know when I have something worth
reviewing.

On Jun 29, 10:05 pm, Chris Peters <chrisdpet...@gmail.com> wrote:

Chris Peters

unread,
Jun 29, 2008, 10:37:24 PM6/29/08
to cfwh...@googlegroups.com
An earlier Rob Cameron release of Wheels had an actual web app that you ran to do these mundane tasks, including Scaffolding. Not sure if it's realistic to scope it for 0.8, but it would be neat to have it back for sure... What do you guys think?

ryanhoppitt

unread,
Jun 29, 2008, 11:17:16 PM6/29/08
to ColdFusion on Wheels
Hi Chris,

I've just joined this google group. am a long time CF developer and
recently had a taste of rails on a 3 month project, so when I found
out about CF on wheels, it was a perfect fit for me. Love what you
guys are doing with this project, and would like to contribute back to
it where possible. Not sure if anyone is interested but I recently
wrote a database migration script in CF similar to ActiveRecord
migrations (rake db:migrate).

The migration files are called via a single script migrate.cfm?
version=x and look something like:-

<cfcomponent extends="migration" output="false">
<cffunction name="up" returntype="void" access="public"
hint="migrates up">
<cfscript>
t = newTable('authors');
t.string(columnNames='firstName,lastName',limit=100);
t.boolean(columnNames='active',default=true,null=false);
t.create();
</cfscript>
</cffunction>

<cffunction name="down" returntype="void" access="public"
hint="migrates down">
<cfscript>
dropTable('authors');
</cfscript>
</cffunction>
</cfcomponent>

There are functions for all the different data types and a references
command for creating foreign keys and columns using wheels
conventions.

Is this something you would be interested in including into wheels at
some stage, perhaps alongside other "rake" scripts? Currently it runs
as a stand-alone CF application but perhaps it could be incorporated
into the wheels application itself or as a plugin.

Personally I've found database migrations great when working as a team
using SVN, as you can checkin your database structure changes in the
same version as the code they relate to. Plus it makes updating test
and production databases so much easier.

A "contributing to wheels" chapter would definitely be helpful. As I
said before, love your work on this project and am looking forward to
version 0.8. Am glad there's an active community working on CF wheels.

cheers
Ryan

tpet...@gmail.com

unread,
Jun 30, 2008, 8:43:22 AM6/30/08
to ColdFusion on Wheels
ryan,

first off.... NICE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


chris,

dude, if we can get that code, it would be an awesome starting point.
might i suggest that you just place the code in a branch so at least
it's in our repository so we don't lose it. we should also do the same
for the migration code that ryan would like to contribute.

Chris Peters

unread,
Jun 30, 2008, 9:11:52 AM6/30/08
to cfwh...@googlegroups.com
I'll get that code into a branch this evening. If I'm not mistaken, it may be in the 0.6 release, but I'll track it down regardless.
 
And yes, kudos to Ryan! The migration stuff is one of those things where I've been like, "Man, it'd be cool if we had that." Looks like it'll be a reality here soon!

Chris Peters

unread,
Jun 30, 2008, 10:38:47 PM6/30/08
to ColdFusion on Wheels
OK, I have the 0.6 release in a tag called 0.6. Not sure if earlier
releases have more comprehensive implementations, but there is some
code in 0.6 to start with... Look in the cfwheels folder.

Per Djurner

unread,
Jul 1, 2008, 5:17:14 AM7/1/08
to cfwh...@googlegroups.com
Sounds great to me, Chris.
I will add everything I am currently working on as "issues" on Google Code shortly.

/ Per
Reply all
Reply to author
Forward
0 new messages