22 May 2010 19 Comments

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

19 Responses to “Introducing DevKit for EE 2.0”

  1. Brandon 22 May 2010 at 20:55 #

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

  2. Martin Luff 23 May 2010 at 06:59 #

    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?

  3. Bjørn Børresen 23 May 2010 at 12:24 #

    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.

  4. carvingCode 28 May 2010 at 22:20 #

    Right in the nick of time! Thanks.

  5. Todd 29 May 2010 at 00:49 #

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

  6. Bjørn Børresen 24 June 2010 at 17:28 #

    I just uploaded a demo video here for those interested:

    http://www.vimeo.com/12828566

  7. Daniel 6 September 2010 at 16:48 #

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

  8. mike 6 October 2010 at 00:01 #

    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?

  9. mike 6 October 2010 at 00:27 #

    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.

  10. luke 25 October 2010 at 09:12 #

    great addon, any support for extension generation?

  11. Bjørn Børresen 25 October 2010 at 10:50 #

    Hi Luke,

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

  12. John 26 November 2010 at 11:41 #

    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

  13. Mike 8 March 2011 at 11:01 #

    This is an awesome module thank you.

  14. Jesse 4 April 2011 at 19:45 #

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

  15. Bjørn Børresen 6 April 2011 at 12:47 #

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

  16. luke 11 May 2011 at 03:46 #

    Please update!!!! I love this thing!


Trackbacks/Pingbacks.

  1. » Ce que nous avons relevé depuis la semaine dernière oxynel, blog communication - Agence de communication Montpellier - 02. Jun, 2010

    [...] un devkit pour EE 2 [...]

  2. Why the ExpressionEngine community is a better place to be for a single developer | bybjorn.com | Bjørn Børresen - freelance web developer - 20. Jul, 2010

    [...] of course, I can’t write this blog post without plugging my own DevKit addon which is an addon you use in your development environment to create the skeleton of a new addon.. [...]

  3. SEO Lite - Free SEO Module for ExpressionEngine 2.x | bybjorn.com | Bjørn Børresen - freelance web developer - 30. Jul, 2010

    [...] while back I released DevKit for ExpressionEngine using the module “SEO Lite” as an example. Now this module is ready for [...]

Leave a Reply