Bookmarks

Efficient CSS with shorthand properties

2010/07/31 | Permalink | Comment?

Shorthand properties can be used to set several properties at once, in a single declaration, instead of using a separate declaration for each individual property. As you’ll see, this can save a lot of space in your CSS file.

Via 456bereastreet (Italian translation available via 963.it)

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: ,

Bookmarks

Addendum – Annotations support for PHP

2010/07/16 | Permalink | Comment?

Annotations are a common way of add metadata to our code readable from compiler/interpreter. Introduced from Java 1.5 (and sons, like Groovy), and used by most framework like Spring (eg. for SpringSecurity), with Addendum become available also for PHP.

Addendum support single and multi valued annotations accessible through extended Reflection API, and works also if –preserve-docs is disabled.

Via Using Annotations in PHP

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS

Bookmarks

FirePHP for Chrome

2010/07/12 | Permalink | Comment?

A must have development add-on for Firefox become available even for Google Chrome.

Grab it at Google Code

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , , ,

Bookmarks

LangRef.org

2010/07/08 | Permalink | Comment?

LangRef.org is a repository of some standard programming situations you might encounter and their solutions in a variety of languages.

Via LangRef.org

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , , , ,

Bookmarks

jme – HTML5 audio / video development kit

2010/06/18 | Permalink | 3 Comments

jme is an HTML5 audio / video development kit with Flash and VLC Fallback, which focuses on flexibility, intuitive DOM-API and semantic code.

Via GreepIt!

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , ,

Bookmarks

FireP4j – FirePHP for Java

2010/06/14 | Permalink | Comment?

Using FireP4j, one can easily log to the console without writing to the HTML output directly (where the log entry will probably be overseen) or to log files (easily reaching 10000 lines+).

Via FireP4j

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , , , ,

Bookmarks

Open Web Development Tools for Mobile

2010/06/10 | Permalink | Comment?

Thank’s to Symbian Foundation for this new IDE for develop (at this time) WRT app.

Direct link to download

Via Thoughts On Eclipse UI

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , ,

Bookmarks

Throw an exception or return an error value

2010/06/09 | Permalink | Comment?

You have created a nice, well written function, but you realize you forgot something: The failure case.
What should a function do when it fails? There are two schools for this – the “throw an exception” school and the “return an error value” school.
But which of these is the correct approach?

Via Codeutopia

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , , ,

Bookmarks

Signs of a poorly written jQuery plugin

2010/06/03 | Permalink | Comment?

A Remy Sharp’s blog post that try to answer to the crucial question:

How do you know if the plugin is good to use?

Via Signs of a poorly written jQuery plugin

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: , ,

Code Snippets

Grails UML diagram generation

2010/05/28 | Permalink | Comment?

In some IDE (like IDEA) graphic representation of your Grails domain classes is built-in. But if you use another IDE, eg. SpringSource Tool Suite (like me), you can supply this lack with the Class Diagram plugin.

Installation is really simple: first, check that in your system is installed Graphviz (under Debian/Ubuntu

sudo apt-get install graphviz

) than into your app folder type

grails install-plugin class-diagram

Re-run your app and at http://localhost:8080/<your_app>/classDiagram you can see the class diagram generated. The result could look like the following:

Class diagram generated

Share and Enjoy:
  • Tumblr
  • Twitter
  • FriendFeed
  • Digg
  • StumbleUpon
  • del.icio.us
  • Technorati
  • Sphinn
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • RSS
Tags: ,
« Previous Entries