web development

Drupal module: Validations

Today I contributed my first piece of Open Source code to the Drupal community! :)

It's the Validations module, which extends Drupal Forms API to easily add simple but often needed validations. If you're into Drupal and code some forms, you'll certainly find it useful :)

It's currently at version 0.1-alpha (I know, not that great, but at least you can use it!).

Please get a copy and give me some feedback - through here or the projects issues page) so I can get it to a beta version, then a RC and finally to a glorious 1.0 release :).

Object-oriented Classes in JavaScript

I believe ~ 110% of web developers knows about the existence of JavaScript (JS), but not so many have used it before.

Anyway, this article is not intended for any of them but for JS programmers who never used it as an Object-oriented (OO) language and want to do it - or, at lest, know how you can define classes, methods, modify classes and all its instances in runtime (after all, JS is interpreted code) just as you would in Smalltalk, and even define private stuff so no other objects else can access them.

Syndicate content