Drupal Blogs, Pictures, and more on WordPress: Drupal module of the day, String Overrides
Image via Wikipedia
The idea behind this is to have a collection of short posts commenting on when to use a particular module, its pros and cons. So, the first module is String Overrides, which is a module I had to use today (that’s why I picked it).
Well, this module is quite useful and we can consider it to be quite stable and supported. The fact that it will have a full Drupal 7 release when Drupal 7 is released is a testament to that.
What does this module do? Well, it replaces any text on the site with the text of your choice. This does not replace Locale (it could but I don’t picture this module being easy to maintain in this scenario) and is recommended when you only need to make few easy text changes.
Drupal Blogs, Pictures, and more on WordPress: Drupal 7 Entities
While looking at some of the differences between nodes and entities, I came across this interesting article explaining what entities are and when should one use them. It served as a good corollary to the existing documentation available on drupal.org about entities.
http://www.istos.it/blog/drupal/drupal-entities-part-1-moving-beyond-nodes
http://www.istos.it/blog/drupal-entities/drupal-entities-part-2-what-where-and-when-entities
One of the major advantages custom entities have over a node, is that, if there is a field inherently associated with that custom entity, and one would like to load that field data in just one query (may be performance reasons), it makes sense to store the field data along with the entity in the same row instead of having to query 2 tables, 1 for the entity and the 2nd for the field data
