I would like to share some code of my best practice to do model handling in laravel 3. First of all, here is my base model I usually extend from:
But let my explain, why I use it:
Model Validation
In most online examples about validating, they show you how to validate a form. If the form values...
QuickLZ [1] is the world's fastest compression library, reaching 308 Mbyte/s per core. It can be used under a commercial license if such has been acquired or under GPL 1, 2 or 3 where anything released into public must be open source.
Speed is favored over backwards compatibility. New algorithms an...
Flattr4Android [1]: Flattr [2] on your Android phone! Flattr real things equipped with QR codes: painting, street art, people... Flattr your favorite Android apps.
There is even an SDK to integrate Flattr into your app. Great job. And don't forget to flattr it :)
[1] http://flattr4android.com/
[2...
Git-ftp [1] is a FTP client using Git to find out which files to upload or which files should be deleted on the remote host.
I recently released 0.2.0 followed by a 0.2.1 which fixed 2 bugs (23, 24). The batch upload mechanism introduced in 0.2.0 was buggy, so I reverted it. The whole code was rest...
Arduino [1] is an open-source electronics prototyping platform based on flexible, easy-to-use hardware and software. It's intended for artists, designers, hobbyists, and anyone interested in creating interactive objects or environments.
[1] http://arduino.cc/en/
...
There are many events in Switzerland about stuff I am interested in. But it happens often that I am taking notice when the event's already passed. And I am not the only one with this problem I guess.
Now there is a new site techup.ch where you can find geeky talks, technical meetings and web events...
WYMeditor is a web-based WYSIWYM (What You See Is What You Mean) XHTML editor (not WYSIWYG).
WYMeditor's [1] main concept is to leave details of the document's visual layout, and to concentrate on its structure and meaning, while trying to give the user as much comfort as possible (at least as WYS...
Ora2Pg [1] is a free tool used to migrate an Oracle database to a PostgreSQL compatible schema. It connects your
Oracle database, scan it automaticaly and extracts its structure or data, it then generates SQL scripts that you can
load into your PostgreSQL database.
Ora2Pg can be used from reverse e...
Raphaël [1] is a small JavaScript library that should simplify your work with vector graphics on the web. If you want to create your own specific chart or image crop and rotate widget, for example, you can achieve it simply and easily with this library.
Raphaël uses the SVG W3C Recommendation an...
Uki [1] is a fast and simple JavaScript user interface toolkit for desktop-like web applications. It comes with a rich view-component library ranging from Slider to List and SplitPane.
Uki is licensed under MIT. Watch out the awsome example and demo page!
Source can be found on GitHub http://gith...