Combine JavaScript and a Template Engine for Flexible Web Apps

Combine the power and simplicity of the TrimPath template engine with JavaScript and Ajax to develop next-generation web applications.

Template engines (TEs) can be very useful in web development scenarios where you need to generate and format text automatically according to specific processing rules. These engines can also help you build your applications based on the Model-View-Controller (MVC) pattern, making them more robust and maintainable than applications based on spaghetti code. Most programming languages provide built-in or third-party TEs. Java, for example, has Velocity and FreeMarker, among others. For PHP, Smarty is the most used TE.

Go to developer.com to read the rest of the article: Combine JavaScript and a Template Engine for Flexible Web Apps.

Posted in IT, Programming | Tagged , , | Leave a comment

Script.aculo.us Controls: Do Your Web Users a Favor

Learn how to integrate Script.aculo.us web controls into your web applications to make the end-user experience more pleasant.

In a previous DevX article, I wrote about the JavaScript framework Prototype, which aims to ease the development of dynamic web applications. That article ended with just a few words about Script.aculo.us, which is a fantastic UI library based on Prototype. This article gives Script.aculo.us its due by examining the web controls it provides: autocompleters, sliders, and in-place editors.

Script.aculo.us is a pretty big library, so no single article can cover it completely. However, the knowledge you will gain will enable you to leverage the power of Script.aculo.us web controls to improve the end-user experience.

Go to DevX to read the rest of the article: Script.aculo.us Controls: Do Your Web Users a Favor.

Posted in IT, Programming | Tagged , , | Leave a comment