Jaslabs: High performance Software

High Performance Software

Archive for the 'web dev' Category

Delphi for php released

By Justin Silverton

After all the hype, Delphi for PHP is finally available.


Announcement from codegear here

“CodeGear, a leader in developer tools, today announced that Delphi® for PHP – an integrated visual Rapid Application Development (RAD) environment for the popular PHP Web development language – is now shipping worldwide.
Delphi for PHP brings the RAD productivity benefits that Delphi users have enjoyed for years to PHP Web developers. PHP, designed to allow Web developers to write dynamically generated pages quickly, is the most prominent dynamic Web language today and has become one of the top 10 programming languages overall.”

Features

  • VCL for PHP,an open-source PHP 5 visual component library with more than 50 reusable components and seamless AJAX integration
  • out-of-the-box integration with InterBase®, MySQL, Oracle®, Microsoft SQL Server, and other popular databases
  • an integrated PHP debugger; drag-and-drop database application development using the Data Explorer for InterBase and MySQL
  • a code editor with Code Insight, Code Explorer, and Code Templates. Deployment options include Windows, Linux, Solaris and other platforms

Pricing

The product is available for an introductory price of $249.

Download Trial

A one-day trial can be downloaded here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
7 comments

5 tips for creating high performance web apps

By Justin Silverton

The following are five tips that can help with peformance when writing php (some can be applied to other languages) applications.

1) use multi resultset queries to your database rather than many small ones

Look through your database code to see if you have requests that go to the database more than once. Each of these will decrease the number of requests per second your application can serve. By returning multiple resultsets in a single database request, you can not only cut the total time spent communicating with the database but also make your app more scalable by cutting down on the work the database server is doing to manage requests.

2) page/object caching

Templates caching (a previous article I wrote describes some template engines here)

PHP Object caching

  • ion cube (commercial) - This one is unique because you don’t have to have server extensions installed.
  • Alternative PHP cache (free) - will be included with PHP 6.
  • Turck MMCache (free) - includes an encoder and loader, so you can distribute your scripts without the source

Database object caching

memcached - used by livejournal and slashdot.org.

3) gzip compression

Enabling this may increase CPU utilization (because it takes more processing power to gzip a file) but it will decrease the number bytes sent from you server, save your bandwidth, and generally make you site faster to your visitors.

to enable gzip compression, add the following to your php.ini:

zlib.output_compression = 1 (requires php 4.0.5 or above)
zlib.output_compression_level = X (X=0 through 7. The higher the number, the more the output will be compressed. Be careful when choosing higher numbers as it will take much more processing power) (requires PHP 4.3.0 or above)

4) tune your web server

A large list of apache (version 2.0) performance tips can be found here

5) Don’t save performance testing for the end of the project

If you save performance testing until the end of the project, it may already be too late and take too much time to make the necessary architectural changes. Tests can be performed on individual pieces of your application or the application as a whole.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
10 comments

Jrotate version 3 released!

By Justin Silverton

jrotate pro

Jrotate version 3 has been released!

Jrotate is A web photo gallery for displaying all of your favorite pictures.

  • Easy Site integration
  • Thumbnail support
  • Multiple galleries
  • 1 year free updates

This new version includes many bug fixes and updates.

A demo can be downloaded Here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
No comments

New TinyMCE 2.0.2 released

What is TinyMCE?

TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under LGPL by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances. TinyMCE is very easy to integrate into other CMS systems.

TinyMCE Features

Easy to integrate, takes only two lines of code.

Customizable through themes and plugins.
Customizable XHTML 1.0 output. Block invalid elements and force attributes.
International language support (Language packs)
Multiple browser support, Mozilla, MSIE, FireFox, Opera and Safari (experimental).
PHP/.NET/JSP/Coldfusion GZip compressor, Makes TinyMCE 75% smaller and a lot faster to load.

 

new to the release

This release adds a new cleanup routine that out performs the previous one in both performance and flexibility. This new cleanup routine is currently available in a plugin since it could include bugs and issues so we suggest using the original cleanup if you have issues with the new one.
New language packs and other contributions where also added to this release, I would like to send a big thanks to everyone contributing to this project and helping us develop one of the best WYSIWYG editor applications out there.
We also added a few new interessting options to the save plugin that enables AJAX save calls to be made.

On top of these new features we resolved lots of bugs and issues including the common one with getting xsrc/xhref attributes.

 

Download it Here

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
No comments

How to play a movie on your website

The following html code will allow you to play flash,quicktime,real meadia, or microsoft media files from your webpage.

Flash:


Quicktime:


REAL:




Launch in external player

Microsoft media:


Launch in external player
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • DZone
  • Slashdot
  • StumbleUpon
  • Technorati
2 comments

« Previous PageNext Page »