Category: drupal

  • Round off

    Their are lot’s of tech events happening in Pune.

    Recently Concluded was IdeaCamp 2, you can read about it on Bhavya’s blog post.

    Upcoming events that I know of

    1. WATBlog Wednesday Pune on 21st January,
    2. Drupal Camp Pune, it is going to happen on 31st January,
    3. On 13th – 14 Feb( yes !!!) we are having Gnunify’09.  and
    4. Joomla Day India, for the first time in India, we will have a day dedicated to Joomla. This will happen on 25th April.  Announcement about it should happen in a day or two.

    Too know about more tech events that are happening or happen in Pune, keep checking Pune Tech Events Calendar.

    For last few week I have been doing lot of things and learned a lot, stay tuned..  till then

    Have fun

  • Drupal Goes Indic Using akIndicPlugin

    Abhishek has written, how you can integrate my akIndicPlugin for TinyMCE to Drupal. I have already written how you can integrate this to Joomla.

  • 5 key skills of a successful web application developer

    Most probably you will be knowing about all these skills already, it is common sense, still I have found so many developers who just know just one server side language(usually java or .net) and then they think themselves as superman/superwoman.

    In web application development, that is just one thing. You need to know about lot more things before you can consider yourself successful.

    So, if you know them already that’s good, you don’t need to read any further otherwise continue reading to know why each of these skills are important for you(the web developer).

    Here are the skills

    1. the structure : HTML
    2. the presentation: CSS
    3. the behavior: JavaScript

    With these three skill you have ability to become the super cool static website developer or a front end developer

    1. the database: SQL
    2. the server-side language : PHP( other options are JSP/ASP/PERL/RUBY choice is yours, as all the fight for best happens here)

    These two skill will make you a web developer.

    All five of these skills will make you a most prized web developer, in your organization.

    (more…)

  • Drupal Form API : An Introduction

    Update : this article is only relevant to Drupal 5.x, with coming of Drupal 7 this is completely out dated.

    I am guessing you must have created lot’s of html forms before, now you have started using Drupal and wondering how to create forms in Drupal and process them. If this is so then read on….

    What is Drupal Form API?

    Drupal form api, is nothing but a set of functions(off-course, that’s what api means) provided by Drupal as part of core functionality, since version 4.7, for us Drupal developers to create, validate and process our html forms, in a secure manner. When i say secure, i mean that you form data is almost free from injection attacks, but you do need to validate this data as per your own application requirements.

    It essentially means we will be creating arrays with relevant data and Drupal’s form generation engine will generate the html form for us.

    Ok, so what?

    I can create my own forms using html, why should i care about Drupal’s form api?

    Simple, if you want to extend the forms provided by other Drupal modules or Drupal itself(which you will have too, most of the time), with out actually modifying their code, then use Drupal’s form api.

    See if we want to use the benefits of modularity Drupal provides we should be able to modify the forms created by others to suit our needs.

    Well you must be wondering, this can be done by editing the code provided by the module. Sure you can do that, but in the process you loose the ability to upgrade that module when a new version comes along, because upgrading means porting all those changes again, now you are stuck.

    On the other hand if you have your own module, using form api, then all you need to it is just modify in you source files, while you can simple upgrade the module without worrying about loosing your changes.

    This also means you can split you form in many usable components and the piece them together for end user. This will give you reusability benefits that we programmers strive for.

    Not yet convinced…

    Let me see what i can do about that.. Ok let’s try this line of thought, when you used to create html forms of similar types, one after other from one project to other did you ever thought their should be a form generator, where you specify the parameter and it automatically generates the form for you. If yes then, consider your wish granted as Drupal’s Form API is one such thing that makes form creation an easy task.

    Ok, now i am assuming that you understood the importance of form api, then next thing to do is to understand how Drupal process the forms. When you understand the flow, you can control it. So let’s get on to it.

    Drupal Form process flow

    Drupal Form Api

    (more…)