AJAX

Drag and Drop using jQuery

The jQuery UI plugin for one of the big players in js libraries: jQuery, already features a full implementation of window-like behavior for div elements, along with typical ui elements such as buttons, dialogs, progress bars etc. all implemented in js.

Code snippets and tutorials on how to use jQuery UI can be found on

http://jqueryui.com/demos/droppable/

the elements along with their functionality such as resizing or drag and drop can mostly be realized in a few lines.

One thing to note is that certain behavior such as resizing will only work if you also have a jQuery UI theme installed. Themes for your website can be generated using a wizard which can be found on the jqueryui website.

Taggings:

AutoComplete input box

For the improvement of user experience on a web site it is useful to provide a autocomplete element on some inputs. On the Internet there are many scripts available for download which implement autocomplete functionality. Unfortunately most of them are not functioning properly in all web browsers or have other important drawbacks - are not skinable, not flexible for different uses, etc. We want to implement a good autocomplete widget which would not have all the mentioned disadvatages.

Load XML contents to HTML websites dynamically

<p>Writing contents directly into HTML websites is less maintainable and extensible. Hence, contents are stored in XML files and loaded dynamically to structured HTML websites.</p><p>Please find out a detailed way to achieve the mentioned goal.</p>

Taggings:

Creating a new Seam Web Project using Eclipse

<p>First of all, I would like to give you a short information about JBoss Seam. JBoss Seam is a powerful new application framework for building next generation Web 2.0 applications by unifying and integrating technologies such as Asynchronous JavaScript and XML (AJAX), Java Server Faces (JSF), Enterprise Java Beans (EJB3), Java Portlets and Business Process Management (BPM). Seam has been designed from the ground up to eliminate complexity at the architecture and the API level. It enables developers to assemble complex web applications with simple annotated Plain Old Java Objects (POJOs), componentized UI widgets and very little XML. The simplicity of Seam will enable easy integration with the JBoss Enterprise Service Bus (ESB) and Java Business Integration (JBI) in the future.</p>

How to execute MySQL Statements within JavaScripts with AJAX

Currently i am developing an administration software for a physiotherapy center. Therefor i simply use PHP and MySQL, so XAMPP was a very comfortable solution. As the complexety of the system grows i had to broaden my horizon and find some tricky solutions to achieve the surreal requirements of my employer. People always want everyhing "flexibel", fast, "automatically",... properties which are very hard to reach within a software. So someday i encountered a very hard problem which took me a long time to solve it (although, afterwards it wasn't so difficult). I had to process some data within my database, which was generated and accessed via JavaScript. If someone has programmed a little bit with PHP before, its not that hard to get content of a PHP-Variable within JavaScript, but its not so easy to process some JavaScript-Variables within an MySQL Statement without reloading the page. So a solution had to be found. After hours of internet surfing and talking to some programmers i found it, my holy grail, AJAX.
Subscribe to AJAX