DrupalCon: Drupal 7 AJAX and Javascript

Topics: 

Rob Loach, Kat Bailey and I will be presenting Drupal 7 AJAX and Javascript Monday, 3-4pm, in room 307.

Here are the basics:

  • The new AJAX Framework
  • AJAX forms, with a complete how-to and sample, easy to understand code.
  • The fantastic new #states feature for dynamic forms.
  • D7 Javascript changes from D6.
  • Using Javascript Libraries.

We've made great strides in Drupal 7. Come and hear about it.

If you used AHAH in D6, you're probably afraid of AJAX forms. But if you never used #ahah, you'll walk out of the room feeling competent to try out #ajax. You can't believe how easy it is now.

D8 Software Process Improvement Discussions at Core Dev Summit

Topics: 

We can substantially improve our core software development process with some simple steps in Drupal 8.

<

ol>

  • Improve our issue queue setup on drupal.org.
    Our issue queue works the way it does because Drupal worked that way a long time ago. We can do better than that.
    • Each core issue should have an issue summary, and the issue summary should be correct and complete before commit.
    • An issue should have links to related and dependent issues.
    • There should be checkoffs for docs, usability, security, etc.

    Of course we know how to do this with Drupal. Let's do it. Related issues: Improve the workflow for documentation of core API changes and Provide a mechanism for issue meta discussions

  • Drupal 7 FAPI's #states: A Great New UI Improvement For Forms

    Topics: 

    The little-known #states feature has gone into Drupal 7, and it rocks.

    Before you read on, try this dynamic form live at d7.drupalexamples.info. It's developed without using a line of javascript, just plain Form API.

    Essentially, you can provide dynamic behavior in a form based on changes to other elements in the form. An easy example: Often you only need to collect information if a particular element is selected. If they select type=student, you don't have to require them to fill in a further "Employer" field.

    The new #states example in the Examples module's Form Example shows how a dynamic form can work. You can try it out live as well at d7.drupalexamples.info.

    Examples module now on api.drupal.org

    Topics: 

    Thanks to excellent work by api module maintainer drumm, all of the examples in Examples module are now available on api.drupal.org.

    If you're not familiar with Examples module, it's an attempt to provide easy-to-understand examples of key Drupal APIs, so that developers have a known source of a working example they can understand. Back in the day, there were a few examples in the Documentation branch of contrib in CVS, but they were poorly maintained and nobody knew how to improve them. All of those have been moved to Examples (for D6 and D7) and updated.

    So with Examples now on api.drupal.org, you have more than one way to access the various examples:

    Drupalcon: Best Practices in Contrib Development

    Topics: 

    Mark your calendar for Wednesday the 21st at 3pm: Greg Knaddison, Dave Reid, Derek Wright, Jennifer Hodgdon and I are doing a panel presentation on how to maintain and support a contrib module or theme. It will cover:

    Community management: Enlisting help, finding maintainers and co-maintainers, handling abandoned projects, dealing with duplication, handling the issue queue.

    Drupal project management: What's expected of a maintainer, code and release management.

    Coding issues: Coding standards, documentation, namespacing, simpletest, internationalization.

    Resources for maintainers.

    If you're a maintainer or might become one, or want to start helping overburdened module maintainers by helping out with these responsibilities, come and hear about how to contribute to the community more effectively and efficiently.

    Debugging with Git Bisect

    Topics: 

    As most of you know, the marvelous git version control system is the future of the Drupal repository. You've probably heard people rave about lots of very important features: It's distributed, FAST, branching and merging are easy.

    But today I'm here to rave about a more obscure wonderful feature of git: the git bisect command. With this command you can find out where in the history a particular bug was introduced. I made a short screencast to explain it:

    Debugging Drupal session is a go for Paris Drupalcon

    Topics: 

    I just got an email that my Debugging Drupal session for Drupalcon Paris is a go! I had already been told that none of my sessions went, so it was quite a surprise. Should be a good session. And the CTools Plugin session, which didn't go, will be done as a BOF add-on to the big session by MerlinOfChaos on CTools in general.

    Pages

    Subscribe to RandyFay.com RSS