Welcome to
'Confessions of a Culture Shock Junkie' ™
Home >> Technology >> Programming

Site Style

Who's Online

We have 24 guests online
Tom Hartung's Blog: Programming
Core Groja.com Classes Print
Technology - Programming
Written by Tom H.   
Thursday, 26 February 2009 00:00

This article describes the core classes written for previous versions of groja.com.

All of these classes have names beginning with "C," and almost all of them operate independently of joomla! framework. The exceptions are CGrojaUser, which depends on joomla's JUser class, and CFunctionsDatabase, which enables some of these classes to access the database outside the joomla! framework.

The code in version 3 of the site utilizes the new features of version 5 of PHP. Specifically, these classes:

  • use PHP5's access modifiers (all data members and methods are now private, protected, or public),
  • contain comments that conform to the PHPdoc format, and
  • declare constructors in the PHP 5 format.

Additionally, every effort was made to ensure these classes generate valid, well-formed HTML that conforms to modern standards. For more information about these classes, click on the Read more... link below.

Last Updated on Monday, 21 December 2009 00:54
Read more...
 
How Groja.com Uses Javascript and Mootools Print
Technology - Programming
Written by Tom H.   
Tuesday, 03 February 2009 00:00

What is Mootools?

The mootools javascript library makes it easy to design a web page that responds to user actions without reloading the page. The best way to get a feel for what it can do is to run the demos. Personally, I like the demos for version 1.11 better.

Joomla! uses the mootools library in the back end to put groups of parameters into panels. Only one panel is visible at a time, making it easier to set the parameters. Because it is bundled with joomla!, mootools is available for components to use in the front end.

For information about how groja.com uses mootools, click on the Read more... link below.

Last Updated on Monday, 21 December 2009 00:44
Read more...