An Open-Source contribution from RO IT Systems
Perl SVG Tutorials
Home | Free Code Samples | SVG Module Documentation | SVG Tutorials | SVG Gallery | Forum & Discussion | SVG Perl Modules | SVG-Perl Articles | External Links | Local Copies of Modules (Win32 & CPAN) | YASB: A Perl SVG Browser
Here is an example of an SVG document (drawing XML dialect) interacting with a server through get reqests (can also do post requests) caused by user mouse events. The original concept was posted on the svg-developers yahoo group in early Feb 2002, and this is the tutorial on how to do this using Perl.
The startup screen gives you 2 squares. Clicking on the squares causes a request to a database to go out which returns the xml for the drawings of the circles that fall within the square's periphery.
Key point: This is all done from within a single browser window, and with no refresh of the image.
Other key point: My server is not running mod_perl, which would make the lag about 1/2 as bad (currently it's 500mS for me, with 100 entries x 5 fields in the database, but then again the request is going 1/2 around the world for me).
The source files for inspection.
Next step...: dynamically selecting the region to draw, drawing onto the space and updatating the database.
For more information, please send the author an email: Ronan Oger
Click here for the perl source code, and Click here to see the functionality.
Previous Tutorial | Tutorial Home | Next Tutorial
August 15-18, Enschede, the Netherlands
At the SVG Open 2005 Conference you will have the opportunity to learn about the SVG standard, how to use it to create effective and compelling Web content, techniques for developing SVG software solutions, and the latest developments from the W3C. You will meet the authors of the SVG specifications and the creators of SVG applications in person, and you will have the opportunity to provide your own input for future development.
You will get a chance to see the newest SVG applications and tools, and you will hear early announcements of upcoming SVG product releases. SVG Open 2005 courses will enlighten you on SVG, XML and related standards, graphic design and Web application design. Courses will be available at both introductory and advanced levels, in order to serve the needs of all conference attendees.
Click on the image below to proceed to the SVG Open website
|SVG Home||© 2002-2005 Ronan Oger||Site Info|