Support

Forums

Contact Me

Posts Tagged 'php5'

PHP

PHP is a general-purpose server-side scripting language originally designed for Web development to produce dynamic Web pages. [http://en.wikipedia.org/wiki/PHP]

More performances for Joomla! with com_minify

Announcement of com_minify

I am developing a new component com_minify that will greatly reduce the number of http requests

it Combines, minifies, and caches JavaScript and CSS files on demand to speed up page loads.

from yahoo performance developer
80% of the end-user response time is spent on the front-end. Most of this time is tied up in downloading all the components in the page: images, style sheets, scripts, Flash, etc. Reducing the number of components in turn reduces the number of HTTP requests required to render the page. This is the key to faster pages.

One way to reduce the number of components in the page is to simplify the page's design. But is there a way to build pages with richer content while also achieving fast response times? Here are some techniques for reducing the number of HTTP requests, while still supporting rich page designs.

Combined files are a way to reduce the number of HTTP requests by combining all scripts into a single script, and similarly combining all CSS into a single style sheet. Combining files is more challenging when the scripts and style sheets vary from page to page, but making this part of your release process improves response times.

I was developing this week end this component (name com_combine) but decide it would be better to use a proven engine, and I found one:
http://code.google.com/p/minify/

Minify is a PHP5 app that can combine multiple CSS or JavaScript files, compress their contents (i.e. removal of unnecessary whitespace/comments), and serve the results with HTTP encoding (gzip/deflate) and headers that allow optimal client-side caching. This helps you follow several of Yahoo!'s Rules for High Performance Web Sites.

The list of features is huge

  • Combines and minifies multiple CSS or JavaScript files into a single download
  • Uses an enhanced port of Douglas Crockford's JSMin library and custom classes to minify CSS and HTML
  • Caches server-side to avoid doing unnecessary work
  • Responds with an HTTP 304 (Not Modified) response when the browser has an up-to-date cache copy
  • Most modules are lazy-loaded as needed (304 responses use minimal code)
  • Automatically rewrites relative URIs in combined CSS files to point to valid locations
  • With caching enabled, Minify is capable of handling hundreds of requests per second on a moderately powerful server.
  • Content-Encoding: deflate/gzip, based on request headers. Caching allows it so serve deflated files faster than Apache's mod_deflate option!
  • Test cases for most components
  • Easy integration of 3rd-party minifiers
  • Separate utility classes for HTTP encoding and cache control

On top of that you'll get the ease of

  • Installation and removal like any Joomla! component
  • A real back end administration panel, multilingual,
  • Version check to always keep up to date,
  • Some security measure inherited from Joomla! framework and best practices.
  • GPL v3 license for com_minify,
  • BSD license for the engine minify

Download it later this week HERE

Articles tagged

The Alternative PHP Cache install

The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was conceived of to provide a free, open, and robust framework for caching and optimizing PHP intermediate code. from http://nl2.php.net/apc

Links:

Read more: The Alternative PHP Cache install

cedTag 2.6.2 for J2.5 released for Joomla 2.5

cedTag provide a useful way to group related posts together and to quickly tell readers what a post is about. Tags also make it easier for people to find your content. Tags are similar to, but more specific than, Joomla categories.

Read more: cedTag 2.6.2 for J2.5 released for Joomla 2.5

cedTag 2.6.1 for J2.5 released for Joomla 2.5

 

cedTag provide a useful way to group related posts together and to quickly tell readers what a post is about. Tags also make it easier for people to find your content. Tags are similar to, but more specific than, Joomla categories.

Warning

IT IS MANDATORAY TO COMPLETELY REMOVE ALL VERSION < 2.6.0 BEFORE INSTALLING THIS NEW ONE!
Go to the Extension Manager under the tab Manage, enter in filter "tag", select all and click Actions – Uninstall
Reason: I did change a lot of folder name and file casing casing to be more Joomla compliant
Don’t be scared you will not loose any Tags or data from your database! uninstalling do not remove currently any tables!

Read more: cedTag 2.6.1 for J2.5 released for Joomla 2.5

cedTag 2.6.0 for J2.5 released for Joomla 2.5

Warning

IT IS MANDATORAY TO COMPLETELY REMOVE ALL VERSION < 2.6.0 BEFORE INSTALLING THIS NEW ONE!
Go to the Extension Manager under the tab Manage, enter in filter "tag", select all and click Actions – Uninstall
Reason: I did change a lot of folder name and file casing casing to be more Joomla compliant
Don’t be scared you will not loose any Tags or data from your database! uninstalling do not remove currently any tables!

 

Your ideas are important, feel free to contact me and ask for new features!

New & Noteworthy

Read more: cedTag 2.6.0 for J2.5 released for Joomla 2.5

cedTag 2.5.6 for J2.5 Released

CedTag  has been updated to version 2.5.6 and contains a lot of nice new and exciting features. For existing users the update will display in the Extensions Manager under Updates. If you do not have this currently installed, you can click the link below and install as normal via the Extensions Manager.

Read more: cedTag 2.5.6 for J2.5 Released

cedTag 2.5.5 for J2.5 Released

cedTag4

CedTag  has been updated to version 2.5.5 and correct a lot of bugs and contains some nice new features.

CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the code if not all has been now rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

Read more: cedTag 2.5.5 for J2.5 Released

cedTag 2.5.3 for J2.5 Released

cedTag

CedTag  has been updated to version 2.5.3 and correct a lot of bugs and contains some nice features.

CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the codehas been rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

What’s new

NEW: Auto completion of tags in frontend and backend using jQuery. You can add new tags, search and remove tags without fearing creating duplicates!
NEW: Joomla ACL support,
NEW: Add basic support for themes, still need some css correction for optimal results
NEW: Use confirmation popup windows for all delete/clear operations,
NEW: New option to switch off tags title in front page,
NEW: No white background in simple.css for people loving their black background as default,
NEW: cedTag is now having no warnings/errors in PHP error level E_STRICT
BUG:  I cant disable cedTag on front page when i disable it any thing not change...i want show tags only on full article view...
BUG:  Working update manager: starting at version 2.5.3 you can update with one click in the update manager.
BUG: Did remove a hack of me for testing -> it was not possible to switch off the add tags button in frontend since i fixcoded to true :-(
BUG: Correct issue in editor xtd plugin blocking users to edit/view articles in frontend

Code cleaning

  • Rewrite 90% of all query string to use the $query object api of joomla
  • Did clean the content plugin a lot,

CedTag is used on this site with more than 5000 tags in 2200 articles.

Your ideas are important, feel free to contact me and ask for new features!

cedTag 2.5.1 for J2.5 Released

cedTag

CedTag  has been updated to version 2.5.1 and correct a lot of bugs and contains some nice features.

CedTag is the continuation of the GPL component Joomla Tags (www.joomlatags.org), Most of the code has been rewritten according to the new standard of Joomla 2.5, the component has been greatly extended and most bugs have been removed. I will continue removing, refactoring existing codebase, in order to be able to add new features faster.

CedTag is used on this site with more than 5000 tags in 2200 articles.

Your ideas are important, feel free to contact me and ask for new features!

You can download the latest version and just upgrade without any loss of data by reinstalling the package

 

What’s new

Compare to Joomla Tags… a lot in fact :-)

Read more: cedTag 2.5.1 for J2.5 Released

CedTag BETA 2.5.0 for J2.5 Released

cedTags_for_joomla

cedTag  has been released and it is still beta, it has been made available to gather feedback. Don’t use it in production or at your own risk. I plan to use it before the end of months on my site. I would love to hear what is missing, what you don’t like, how it can be better.

A real free tag system for Joomla!

Front end features

  • Show tags at the bottom of each article.
  • Tag list view
  • Tag blog view
  • Most popular tags.
  • Most hits tags.
  • Latest tags.
  • SEF support, compatible with sh404SEF,ARTIO JoomSEF,AceSEF
  • XMap Plugin
  • Language file support
  • Add/Edit tags
  • Compatible with JoomlFish
  • Search plugin.

Back end features

  • Import Tags from Meta keywords
  • Import tags from 3rd party system
  • Term editable.
  • Batch term add.
  • Batch tag management.
  • Auto extractable tag.
  • Language file support
  • Template edit online.
  • Tags filter by section and category.
  • One click installation.

User of Joomla Tags, just install this all in one package and select Import – Souce – Joomla Tags and click import to copy your data in the new table.

cedTag a new Tag system for Joomla 2.5 (based on Joomla tags) is now deployed on my showcase

http://demo-joomla-2.5.waltercedric.com/

 

Donations

Thank You for supporting my work