Module Creator

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
brownrl
Forum Members
Forum Members
Posts: 74
Joined: Thu Sep 23, 2004 11:06 am

Module Creator

Post by brownrl »

Dear All,

For the past months I have been working on and using a self made modulecreator module at my work.

Using some of the principals of previous Module Creator Modules I sorta tied in different pieces and added some of what I wanted.

Primary Objective:

Module creator should create a fully working module to do C.R.U.D. sequencies...


Example, you need a module named "pets"

- Thus after 5 steps you get a db table "module_pets"
- Each field in the db table is prefixed with "pet_"
- There is an admin create action
- and admin edit action
- admin delete action
- admin listing action
- + plus two generic user side actions to play with


Here is link to download my module creator:

http://hlounge.net/modulecreator.zip

It will generate fully working modules to get you started and going FAST! It will not generate skeleton files that require heavy editing.

This is the first time that I give it out to people, it is mostly documented in the code and I hope that it is flexible enough to be exapanded on.

If you expand on it please send me a note here and I will integrate into later versions.

If you think that it is the biggest piece of poop ever fine by me. In the time it takes you to create 1 module, I will create 6!

Regards,
Brownrl
dmgd
Forum Members
Forum Members
Posts: 115
Joined: Tue Jun 06, 2006 1:10 pm
Location: TX

Re: Module Creator

Post by dmgd »

FYI
Some systems will give you a "Cannot redeclare function" error.
Mark
brownrl
Forum Members
Forum Members
Posts: 74
Joined: Thu Sep 23, 2004 11:06 am

Module Creator 1.1

Post by brownrl »

Heavy updates, bug fizes, new templates, dataTables integration, new field types.

Added a file field object...

http://hlounge.net/modulecreator.zip

Supports exporting modules to XLS... yes to Excel so now your manager wont' be all like "Dude I need an XLS of the subscribers module.
User avatar
plger
Forum Members
Forum Members
Posts: 196
Joined: Wed Oct 15, 2008 10:38 am

Re: Module Creator

Post by plger »

(Why are you posting this here and not in the forge?)
My two cents:
Having a similar project myself ( http://dev.cmsmadesimple.org/projects/ctlmodulemaker ), I find this interesting (and very cleanly coded), but it seems to me that there are a few things that should be more faithful to the cmsms methods. You should use the admin theme to allow an easy visual integration with the rest of the admin (your jquery panel is interesting, but it would be even more if it took the style of the admin panel). Also, as the created modules require the modulecreator files, so you should put it in the dependencies to avoid problems. A better integration with smarty would also seem desirable to me...
Now, these are suggestions, of course the project is great, and I believe these kind of helpers fill a very existing need...
Pierre-Luc
Post Reply

Return to “Developers Discussion”