Introducing DevKit for EE 2.0

I’ve spent the last 8 months developing modules (and templates) for EE 2.0. Pretty early I got annoyed by some of the redundant manual tasks I had to do over and over again .. so I started creating some addons to help me out. Now I’ve bundled (some of that) functionality in this thing I’ve named DevKit for EE 2.0, download it here: zip / github page.

For now it contains functionality to generate the skeleton of a new EE module – you just give it some details (name, description, etc.) and an installable EE 2.0 module will be generated. It will add some helpful functions as well. Then it’s up to you to fill it with business logic ;-)

Also it has a one-click load of snippets and global variables from the filesystem. Personally I like to use the built in EE functionality to add that to the main navigation at the top, so that when updating the global variables in my files I just hit that button and they’re all updated.

And then there is a YAML 2 dbforge generator that will help you out when you have a lot of database tables you need to generate (this is handy for the upd.yourmodule.php install() and uninstall() functions). Personally I’m too lazy to write dbforge code, YAML is quicker (see the screenshot). This is very basic, but it works.

Here are some screenshots:

DevKit: Create new module

YAML 2 dbforge Code Generator

Update/Import snippets/global variables from disk

Like it?

I hope that other EE developers find this helpful. If you do, please let me know, and also – if you’d like to contribute / help out improving this DevKit let me know and I’ll add you to the project on github so you can commit code to it.

This is a small step for EE, and a humble start, but maybe this can evolve into an awesome tool / framework for EE 2.0 development.

Download: devkit.zip

Comments

Comment by Brandon on 2010-05-22 20:55:14 +0000

Looks fantastic. I can’t wait to test it out! Any chance of posting a quick tutorial for creating a very simple module?

Comment by Martin Luff on 2010-05-23 06:59:22 +0000

Thanks for the work on this. Looks very interesting…

Just out of curiosity, did you try using the ‘Hermes’ add-on from Solspace before going down this route?

Comment by Bjørn Børresen on 2010-05-23 12:24:26 +0000

Brandon; creating a simple module is only a matter of filling out the form ;-) .. but yeah, writing a newbie tutorial is a pretty good idea.

Martin; yeah I recall checking out Hermes a while back – but that’s only for 1.6.x … DevKit is for 2.0.

Comment by carvingCode on 2010-05-28 22:20:03 +0000

Right in the nick of time! Thanks.

Comment by Todd on 2010-05-29 00:49:01 +0000

Nice work! I, too, would love to see a tutorial of this in use. Maybe even a screencast? Thanks so much!

Comment by Bjørn Børresen on 2010-06-24 17:28:15 +0000

I just uploaded a demo video here for those interested:

http://www.vimeo.com/12828566

Comment by Daniel on 2010-09-06 16:48:56 +0000

That looks great, I’ll certainly use it in my first module :D Thanks for your work !

Comment by mike on 2010-10-06 00:01:31 +0000

I downloaded the files but how do I install them? they’re not in the format of third_party/devkit and putting the two included directories into third_party/devkit/ doesn’t seem to work. Am I missing something?

Comment by mike on 2010-10-06 00:27:30 +0000

sorry about the previous comment, I got it sorted. This thing is amazing. I am writing my first module and already have all of the tedious stuff done. Great job on this! WIll let you know when I have my module completed.

Comment by luke on 2010-10-25 09:12:10 +0000

great addon, any support for extension generation?

Comment by Bjørn Børresen on 2010-10-25 10:50:42 +0000

Hi Luke,

not yet but that’s def. on my list of things to add to it :)

Comment by John on 2010-11-26 11:41:31 +0000

Hey Bjørn!

Have you considered having devkit be able to generate a skeleton Accessory, Extension or Plugin too so that it is a more complete toolkit? You could put in a couple of common functions in them for accessing params and stuff. I know it’s on the EE site but it would speed things up for people i would imagine.

Anyway, that’s all!

Cheers

John

Comment by Mike on 2011-03-08 11:01:12 +0000

This is an awesome module thank you.

Comment by Jesse on 2011-04-04 19:45:52 +0000

Maybe you could add a tab file generation in your next update?

Comment by Bjørn Børresen on 2011-04-06 12:47:08 +0000

Jesse – yeah that is a good FR. DevKit hasn’t had an update for a while so I should get one out soon :-)

Comment by luke on 2011-05-11 03:46:00 +0000

Please update!!!! I love this thing!

Comment by Stuart McCoy on 2012-08-07 02:09:28 +0000

An update might be warranted. I can’t get this add-on to work with a fresh EE 2.5.2 install. Anyone else having this problem?

Comment by Mike on 2012-10-22 16:09:33 +0000

There was life before you… and now there’s life after you. I hate EE so much, YOU made it 99 % less bad !

Comment by luke holder on 2012-12-19 14:03:33 +0000

update?

Comment by Nisar on 2013-01-17 13:15:42 +0000

Hi All, I am new to EE,can you please help me in installing the above module.I mean to say where to put the two downloaded folders?

Thanks