PHP

jQuery UI—The Dialog: Part 2

by Dan Wellman | February 2009 | Open Source PHP Web Development

In the previous part of the article, we learned how to create a basic dialog, work with dialog's properties and callbacks, and add buttons to the dialog.

In this final part of the article by Dan Wellman, we will learn how to enable animations for the dialog and how to control the dialog programmatically.

Read jQuery UI—The Dialog: Part 2 in full

jQuery UI—The Dialog: Part 1

by Dan Wellman | February 2009 | Content Management Open Source PHP

Traditionally, the way to display a brief message or ask a visitor a question would be to use one of JavaScript's native dialog boxes, such as alert or confirm, or to open a new web page with a predefined size, styled to look like a dialog box. Unfortunately, neither of these methods is particularly flexible or engaging. For each problem they solve, several new problems are usually introduced.

Thankfully, the days of resorting to either of the aforementioned techniques are over. We can now make use of the advanced functionality and rich features of the jQuery UI dialog widget. The dialog widget lets us display a message, supplemental content (like images or text), or even interactive content (like forms). It's also very easy to add buttons, such as simple ok and cancel buttons, to the dialog and define callback functions for them in order to react to their being clicked.

In this first part of the article by Dan Wellman, we will complete the following tasks:

  • Create a basic dialog
  • Create a custom dialog skin
  • Work with dialog's properties
  • Enable modality and see an overlay
  • Add buttons to the dialog
  • Work with dialog's callbacks.
Read jQuery UI—The Dialog: Part 1 in full

jQuery Embedded in Dojo Accordion Panes

by Jayaram Krishnaswamy | February 2009 | Open Source PHP Web Development

The Dojo Toolkit is an Open source JavaScript toolkit which can be used to develop stunning web pages. I liked it from the very beginning. It is very fast and provides lots of tools to work with DOM, Animations, AJAX etc. The base code is lightweight (~26 KB). jQuery, even lighter, also Open Source, is the write-less, do-more, cross-browser, CSS3 compliant JavaScript library. In this article by Dr. Jayaram Krishnaswamy, we will experiment embedding jQuery in DOJO 123's Accordion widget and try to identify if there exists any cross-code interactions. The code is also tested for cross-browser suitability.

Read jQuery Embedded in Dojo Accordion Panes in full

Slider for Dynamic Applications using script.aculo.us (part 1)

by Sridhar Rao | October 2009 | AJAX PHP Web Development

Handling, processing, and representing data in the 2.0 era of web applications has become so crucial that designers and programmers are working towards new ways of improving the user interface experience. Slider is one such killer concept, using which the user can represent and handle data easily. In this two-part article series we will explore different types of Sliders and code usage and options with a hands-on example with vertical and horizontal slider.

In this article by Sridhar Rao, we shall be covering the following topics:

  • First steps with the script.aculo.us slider
  • Types of the slider
  • Code usage for the slider
Read Slider for Dynamic Applications using script.aculo.us (part 1) in full

Slider for Dynamic Applications using script.aculo.us (part 2)

by Sridhar Rao | May 2009 | AJAX PHP Web Development

A slider, according to the dictionary, stands for the one that slides. Yes, a slider in the web application context stands for holding and sliding values from a fixed given range, or even from an array of values. The slider is really useful and worthy in places where the user needs to slide through a lot of values and also the application needs to respond to those values and changes. In the first part we were introduced to types of Sliders and code usage for the slider. This is the second part of a two part article on the concept of sliders using script.aculo.us.

In this article by Sridhar Rao, we shall cover:

  • Code usage for the slider and options
  • Tips and tricks with the slider
  • Hands-on example with vertical and horizontal slider
Read Slider for Dynamic Applications using script.aculo.us (part 2) in full

Non-default Magento Themes

by Richard Carter | July 2009 | PHP

In this article by Richard Carter, we've made use of default themes in Magento, and we can customize our Magento store further by using non-default themes. In particular, we'll look at:

  • Setting your non-default theme to be the one that your visitors will see
  • Creating a number of simple non-default themes
  • The theme hierarchy in Magento
Read Non-default Magento Themes in full

Exporting data from MS Access 2003 to MySQL

by Dr. Jay Krishnaswamy | July 2009 | PHP

Most businesses use a software mix in their IT arsenal that makes business sense to them. Because of this, often they have to migrate a part, or whole of their data from one software program to another. In this article by Dr. Jay Krishnaswamy, the built-in method of exporting tables in Microsoft Access is explored to take a table in Microsoft over to MySQL, the open source database product that changed hands recently. This article steps you through the process with a number of screen shots to guide you along the way.

Read Exporting data from MS Access 2003 to MySQL in full

Debugging and Validation in WordPress Theme Design

by Tessa Blakeley Silver | May 2009 | Content Management Open Source PHP WordPress

In this article by Tessa Blakeley Silver, you are going to cover the basic techniques of debugging and validation that you would be employing throughout your theme's development. We'll dive into the W3C's XHTML and CSS validation services, and also walk you through using Firefox's JavaScript/Error Console for robust debugging, as well as introduce you to the FireBug extension and the Web Developer's Toolbar. In addition to this, you will learn about little troubleshooting insight as to some of the most common reasons 'good code goes bad', especially in IE, and the various ways to remedy the problems.

Read Debugging and Validation in WordPress Theme Design in full

Social Media in Magento

by Richard Carter | July 2009 | Open Source PHP

This article by Richard Carter states that our theming of Magento does not have to stop at changing the way it looks. We can also add aspects of social media to it, such as:

  • Integrating your Magento store with Twitter
  • Improving your store's customer service
  • Using social bookmarking tools such as AddThis to help your customers spread the word about your store across the Internet

With so many e-commerce stores on the Internet, using social media can make a huge difference to your store's fortunes. It can also increase your potential customers and ensure that customers continue to come back.

Read Social Media in Magento in full

Displaying MySQL data on an ASP.NET Web Page

by Dr. Jayram Krishnaswamy | August 2009 | Open Source PHP

Web enabling business data is one of the key devices used to advertise and market products. This can be done with various technologies such as VB, ASP, JSP, ASP.Net and many others. This article shows how you may view data from a table on a MySQL database server on a web page using ASP.NET. The table used in this tutorial was the one described in the first article in this series on Exporting data from MS Access 2003 to MySQL.

This article by Dr. Jay Krishnaswamy explains how to populate a GridView on an ASP.NET web page by data retrieved from a MySQL Server. MySQL.Data.MySqlClient is a connector (provider) provided by MySQL which you can use with the .NET Framework applications whose details may be reviewed here. MySQL is well integrated with Visual Studio (MySQL Visual Studio Tools: MySQL.VisualStudio.dll).

Read Displaying MySQL data on an ASP.NET Web Page in full
Syndicate content
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software