Thursday, July 12, 2007

Object oriented programming (OOP) without classes…!!!

Nowadays, object oriented programming (OOP) is quickly taking place over the traditional procedure oriented programming (POP). Success of the modern programming languages like C# and Java is obviously because of OOPs Power.

As all the OOP languages use CLASS or similar data structures for Object Oriented Programming, we have considered that without a “CLASS”, OOP is not possible.

With the same idea in my mind, I’d briefly gone through the code base of “Drupal” - One of the most popular open source content management system and framework built with PHP language. I often read and heard many praise about the power of Drupal, but after the first look at the code base, I amazed that Drupal doesn’t use a single Class in it’s code base! Whole Drupal code base is based on just functions. As PHP, with which programming language Drupal itself is built, is also implementing many powerful OPP features, I could not understand why Drupal is not using these features!

As I’d not seen the keyword ‘class’ in Drupal code base, I evaluated Drupal as non-OOP as many programmers do. And that was my mistake! Even though, Drupal doesn’t contain any class like data structure, it is still Object Oriented. I realized this fact after details study of Drupal.

Actually, the OOP concept is not based on uses of data structures like CLASS. It is based on the fundamentals of features like Objects, Abstraction, Encapsulation, Polymorphism, Inheritance etc. If these fundamental features are included in programming then it can be considered in OOP.

Drupal covers all these features without classes. I also realized that the power of Drupal is hardly depends on this programming structure only. The way, how the hook system has been implemented in Drupal would never been possible with the use of Classes.


See more details about how Drupal implements Object Oriented Programming (OOP) without using Classes, visit: http://api.drupal.org/api/HEAD/file/developer/topics/oop.html

Wednesday, July 11, 2007

A Good Themes For drupal

Abac

Theme for Drupal 5.x., CSS-based (tableless), two column layout, big place for logo (banner) 215x165px, the footer ("contacts") is placed under title.

Author: garamond.

VersionDateLinks
5.x-1.42007-Mar-19

Aberdeen

A fresh design that balances simplicity, soft, neutral background colors, plenty of whitespace and big nice typography.

List of features

•Standards-compliant XHTML 1.0 Strict and CSS (No CSS hacks).
•Liquid CSS layout (tableless) - the whole layout increases or decreases proportionally as dimensions are specified in ems. Try changing the font size to see this working.
•Supports one, two and three columns.
••Cross-browser compatible. Works fine in Firefox 2.0 and IE 6.
•Cute icons (all GPL or created by myself).
•Coded with SEO in mind, the order of the columns are 2dn, 3rd and 1st - usually the 1st is intended for navigation, the other two for content, Google likes that.
•Slinding doors tabs for primary links that blend with main content area.

VersionDateLinks
5.x-1.72007-Mar-12

Wednesday, June 20, 2007

Core Module

The pages below give help for the modules that come with Drupal. When you install Drupal, these modules are automatically installed. To make use of a module, first make sure it's enabled at administer >> site building >> modules. (Some modules automatically are.) Then set the right permissions for it at administer >> user management >> access control.

You can further extend the features of Drupal by using "contributed modules." A list of help pages for contributed modules is available at the contributed modules page.

If you would like to add a module help page, follow the authoring guidelines. The site maintainers can create and update pages for you.


Source: Core Module For Drupal

About Drupal

Drupal is a free software package that allows an individual or a community of users to easily publish, manage and organize a wide variety of content on a website. Tens of thousands of people and organizations have used Drupal to power scores of different web sites, including

  • Community web portals
  • Discussion sites
  • Corporate web sites
  • Intranet applications
  • Personal web sites or blogs
  • Aficionado sites
  • E-commerce applications
  • Resource directories
  • Social Networking sites

Drupal is ready to go from the moment you download it. It even has an easy-to-use web installer! The built-in functionality, combined with dozens of freely available add-on modules, will enable features such as:

  • Content Management Systems
  • Blogs
  • Collaborative authoring environments
  • Forums
  • Peer-to-peer networking
  • Newsletters
  • Podcasting
  • Picture galleries
  • File uploads and downloads

and much more.

Drupal is open-source software distributed under the GPL ("General Public License") and is maintained and developed by a community of thousands of users and developers. Drupal is free to download and use. If you like what Drupal promises for you, please work with us to expand and refine Drupal to suit your specific needs.

Source: Aout Drupal

Monday, June 18, 2007

Drupal open source

Drupal 5.1 and 4.7.6 released

Heine - January 29, 2007 - 19:15

Drupal 4.7.6 and 5.1 are available for download. These are maintenance releases that fix problems reported using the bug tracking system, as well as a security vulnerability.

Upgrading your existing Drupal sites is strongly recommended.

Download


Source: http://drupal.org/