See Your Psyche at
'Visualizing Personalities Since 1989' ™
Home >> Blog >> Technical

Who's Online

We have 18 guests online
 
groja.com technical details
Core Groja.com Classes
Technical Info.
Written by Tom Hartung   

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.

Read more...
 
How Groja.com Uses Javascript and Mootools
Technical Info.
Written by Tom Hartung   

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.

Read more...
 
How Groja.com Uses the Joomla! MVC API
Technical Info.
Written by Tom Hartung   

The functionality of groja.com's Draw option is an original joomla! component named com_groja. The design of this component is based on joomla's Model-View-Controller (MVC) Application Programming Interface (API).

Joomla's MVC API gives developers a framework for developing complex applications.

  • Models are specialized classes that know how to do something, such as store and retrieve data from cookies or a database.
  • Views are classes that know how to display something, such as groups of forms that allow users to send data to the server in a request.
  • Controllers are classes that know how to accomplish a task, such as validating and storing data from a form.

This article describes how groja.com uses joomla's MVC API.

This article makes no effort to describe concepts such as the MVC design pattern and object oriented design (OOD). There is already a great deal of information about MVC and OOD on the web; google and the wikipedia are good places to start.

This is a long and fairly technical article. If you are still interested in all this, click on the "Read more..." link below to see class diagrams that illustrate how groja.com uses this API.

Read more...
 


 

Site Style