← cd ..
· 2 min read

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
DevKit: Create new moduledevkit_create_new_module.jpg
YAML 2 dbforge Code Generator
YAML 2 dbforge Code Generatordevkit_dbforge_generator.jpg
Update/Import snippets/global variables from disk
Update/Import snippets/global variables from diskdevkit_update_snippets.jpg

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

── comments20
Brandon · 2010-05-22

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

Martin Luff · 2010-05-23

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?

Bjørn Børresen · 2010-05-23

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.

carvingCode · 2010-05-28

Right in the nick of time! Thanks.

Todd · 2010-05-29

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

Bjørn Børresen · 2010-06-24

I just uploaded a demo video here for those interested: http://www.vimeo.com/12828566

Daniel · 2010-09-06

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

mike · 2010-10-06

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?

mike · 2010-10-06

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.

luke · 2010-10-25

great addon, any support for extension generation?

Bjørn Børresen · 2010-10-25

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

John · 2010-11-26

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

Mike · 2011-03-08

This is an awesome module thank you.

Jesse · 2011-04-04

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

Bjørn Børresen · 2011-04-06

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

luke · 2011-05-11

Please update!!!! I love this thing!

Stuart McCoy · 2012-08-07

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?

Mike · 2012-10-22

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

luke holder · 2012-12-19

update?

Nisar · 2013-01-17

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

$ open [original ↗]
click or esc to close
$ open stavanger.map · last friday · børehaugen 1a · 58.974°N 5.732°E
[ .. ] fetching tiles█
drag to pan · scroll to zoom · esc to close © OpenFreeMap · OpenStreetMap