Druppets 1.0 - Drupal Snippets Set for AptanaAug 04, 2009 · by Tim Kamanin
UPD 23.02.13: There is a dedicated drupal snippets project called dropbucket.org - drupal snippets, check this one out to get loads of cool drupal snippets. UPD 21.08.11: Thanks to my readers, I found old sources of this project and put them on GitHub, feel free to use them. Links are at the end of this post.~~
I should have done this earler, but I found time to do this only now. I have a set of mostly used snippets of Drupal 6 code which helps me a lot during my Drupal development. It's not so big, but most of snippets are really handy. So I decided to share this set with you and gave it a funny name Druppets :)
Please welcome, Druppets 1.0 :
Druppets is a set of commonly used snippets of Drupal 6 Code. This set should
help with some common and repetitive coding tasks.
The first version of druppets is available for Aptana IDE only (www.aptana.com). It may work with Eclipse based IDEs also,
but I never tested this. Works ok with Aptana 1.5 on PC. Should be ok with Linux/Mac also.
1) Aptana IDE installed. Preferrably version 1.5+
2) Drupal 6
Release notes :
Druppets 1.0 has the following snippets divided into 4 categories:
1) Form API:
Password with Confirmation
Form + Submit Functions
Form + Validation + Submit Functions
Output in Table
3) HTML Ready
db_query('SELECT') and fetch
db_query('SELECT') single and fetch
If people will find this set useful I will continue to maintain it and will add more snippets. Feel free to make suggestions here in comments or contact me directly:
- Download Druppets 1.0 for Aptana from GitHub: http://github.com/timonweb/Druppets
- Pemanent Duppets Project Page with Installation Instructions and more.