The Information Technology Blog brought to you by 4 Ace Technologies

Thursday, October 29, 2009

Convert any website layout or template into a Drupal theme - easily!



Theming for Drupal is not actually as hard as you may think. Certainly there are more advanced areas of theming possible with Drupal, which may or may not be necessary depending on the needs of your site or whether there are subtle defaults which you wish to change (and which you can learn about if and when they become necessary for your site). Creating the "overall theme" for your site though is very simple.

A Drupal theme is nothing more than a standard website layout, with a few bits of PHP code added in certain places, which you can simply copy/paste into place in order to call up Drupal's "dynamic" content and features in those spots.

If you learn better visually, a video is available which covers much of the same information that will be illustrated here: Static Theme Conversion.

Contributed/downloaded themes are more complex than "your" theme needs to be

You may have looked at various pre-made themes that either come with Drupal core or are available for download, and sighed with frustration upon seeing their code. To some, the code looks very confusing.

Read Full Article Here

Flash with Drupal Modules and References

Having trouble integrating Flash with Drupal? The following links might help:

http://drupal.org/project/Services
http://drupal.org/project/amfphp
http://www.amfphp.org/

Wednesday, October 28, 2009

BuildExec - a website Package Installer for PHP

Easily make Installation Packages for your php web applications, for details follow the link below:
http://www.buildexec.com

Wednesday, October 21, 2009

Wednesday, October 14, 2009

Error Message Guidelines

The following link may help regarding a basic guidelines for error messages:
http://www.experoinc.com/resources/papers/2005-06-ErrorMsgs.htm

Sunday, October 4, 2009

Document Generator Tools

One of the popular Document Generator Tools for PHP are listed below:

DoxyGen
Source code documentation generator tool
Doxygen is a documentation system for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D.
(It's used by Drupal as well I guess, so this one should be definitely one of the Bests):
http://www.stack.nl/~dimitri/doxygen/

phpDocumentar
http://www.phpdoc.org/

Saturday, October 3, 2009

InputEX - javascript library to build fields and forms.

Introduction

inputEx is a javascript library to build fields and forms.
It can also be considered as an interface framework, since it provides a good structure to create you own fields.

It is built on top of the YUI library, and we try to keep it as close as possible to the YUI philosophy.

It is of course fully skinable using CSS and currently supports Firefox 1.5+, Safari 2.0+, IE 7.0+, Chrome 0.2+ and Opera 9+.

A unique field library

With so many form libraries out there, why would we create another one ?

  • HTML fields/forms are very limited: no interaction, missing basic features, etc...
  • no existing good input library for YUI (let me know if I'm wrong !)
  • Implement multiple browsers hacks once and for all
  • it's not all about validation !

Here are the features we implemented that makes inputEx unique :

  • json configuration for each field
  • complex data structures (list/objects/tree/list of urls/objects of objects etc...)
  • composition between the fields (for "meta"-fields such as CombineField,InPlaceEdit,List,Tree,...)
  • javascript object mapping for greater interactivity
  • a common "updated" event to handle different browsers and different field interactions

No HTML ?

InputEx uses no html (it is the opposite of unobtrusive librairies): all the fields and forms are configured using json, then rendered by manipulating the DOM.
It is therefore a library to create javascript web applications, not webpages.

This approach has a great advantage: adding/modifying a field is made in one place only. Combined with the json configuration that can be stored server-side, it makes customization of your web application very easy.


Important Reference Sites

http://javascript.neyric.com/inputex/
http://javascript.neyric.com/inputex/doc/js_docs_out/index.html
http://javascript.neyric.com/blog/