background preloader

Joomla

Facebook Twitter

Running Automated Tests for Version 1.6. Introduction This article has been updated as of November 2012 to reflect the latest information for running unit and system tests for Joomla version 3.0.

Running Automated Tests for Version 1.6

When you checkout the master branch of Joomla from Github.com ( you will see a folder called "tests". This folder contains unit and two types of system tests for the CMS. The unit tests use PHPUnit and the system tests use PHPUnit and Selenium. The unit tests perform tests on the CMS library files (libraries/cms). As of 3.0, we are transitioning our system tests from the older Selenium RC (found in the tests/system/suite folder) to the newer Webdriver methodolgy (found in tests/system/webdriver). Before you can run the tests, you need to install some programs on your local workstation, as documented below. PHP Requirements You may need to modify your PHP configuration. CMS Unit Tests Some of the CMS unit tests rely on the PHP extension Sqlite3. For Windows: extension=php_sqlite3.dll For Linux: extension=php_sqlite3.so Install PHPUnit Tips. Joomla's Banner Component for Banner Advertisements - Open Source Training.

Joomla's Banner Component is perhaps one of Joomla's least used features, yet at the same time one of its more advanced features that comes with the core installation of Joomla.

Joomla's Banner Component for Banner Advertisements - Open Source Training

One of the primary reasons this powerful component is not utilized is because of users' lack of familiarity with it. When you are given a banner to put on the site, the tendency is to create a custom module and insert the banner in there, then assign it to a module position and menu item. However, there is very little organization with this approach and if you are managing a bigger site, you will soon be wasting needless hours that you could have spent elsewhere. Automatic Update Plugin/Component - Features? I got really tired of having to uninstall and re-install my packages every time I wanted to make a substantive change.

Automatic Update Plugin/Component - Features?

So... I've written a component and plugin to implement file versioning and updating via Joomla 1.5's XML-RPC server. It's meant for component developers who want to be able to offer automatic updates to their components, meaning that in addition to the plugin and component for your server, there is code that you add to your administrative-side that consumes the XML-RPC service to keep your component's files up to date. By "your server," I mean any Joomla 1.5 site, likely the one where you offer your component for download. You install the plugin, enable web services, install the component, and then configure it to know about your packages and the current versions. I bring this up because I'm about 48 hours away from finishing all of the features that I've thought up that I, personally, need.

So, a summary: I call it "VersionPlug" (for versioning plug-in). Code: Setting up your workstation for Joomla! development. This article provides detailed instructions for setting up your workstation for Joomla!

Setting up your workstation for Joomla! development

Development with Apache, PHP, xdebug, Git. How to get Joomla system generated errors and or messages? « IamRegin.com. Getting started with JForm. JForm is one of the most exciting new features to be introduced as part of Joomla!

Getting started with JForm

1.6. The intention is to provide XML configurable forms complete with custom field types and form validation. I cannot stress enough just how much easier this is going to make life as a Joomla! Developer. In this article we take a look at how to define JForms and how to display them. The JForm concepts There are three important concepts to understand in JForm: groups, fieldsets, and fields.

Send an email in Joomla! 1.5. Cache it! Solve PHP Performance Problems. In the good old days when building web sites was as easy as knocking up a few HTML pages, the delivery of a web page to a browser was a simple matter of having the web server fetch a file.

Cache it! Solve PHP Performance Problems

A site’s visitors would see its small, text-only pages almost immediately, unless they were using particularly slow modems. Once the page was downloaded, the browser would cache it somewhere on the local computer so that, should the page be requested again, after performing a quick check with the server to ensure the page hadn’t been updated, the browser could display the locally cached version.

Pages were served as quickly and efficiently as possible, and everyone was happy. Then dynamic web pages came along and spoiled the party by introducing two problems: Joomla Caching Explained - Page, View and Module Caching - How to speed up your Joomla Web site. Translations: French Spanish Any dynamic content management system makes the web server work and Joomla is no exception.

Joomla Caching Explained - Page, View and Module Caching - How to speed up your Joomla Web site

However, most Web sites have content that does not change frequently where caching techniques can be employed to reduce reinventing the wheel (or the content as it may be) each time a page is visited. This article looks at the three levels of caching available to a Joomla 1.5 web site. The idea behind caching is that once you’ve gone to the trouble of running a component, a module, or even building a whole page, it makes sense to take a copy and reuse that if possible. By default, Joomla does not cache any content. Logging to Files.