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

Site Style

Who's Online

We have 16 guests online
 
Tom Hartung's Blog: Joomla!
How Groja.com Uses the Joomla! MVC API Print
Technology - Joomla!
Written by Tom H.   
Tuesday, 03 February 2009 00:00

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.

Last Updated on Monday, 21 December 2009 00:22
Read more...
 
What Is New in Version 3.0 of Groja.com Print
Technology - Joomla!
Written by Tom H.   
Tuesday, 04 November 2008 00:00

A new version of groja.com is now online! Following is a list of the new features in the latest version:

  • It is now built on joomla!, making the site more secure and easier to update.
    • The code uses joomla's API to implement the Model-View-Controller (MVC) design pattern.
    • The site takes advantage of four user levels (unregistered, registered, author, and editor) each of which has increasing capabilities.
    • Using the mootools javascript framework (packaged with joomla) it condenses about 10-15 pages down to two! The mootools panes to allow presentation of multiple lists, forms, inforamtion, and option groups on a single page.
    • Now getting regular updates to joomla! automatically via the gentoo operating system's portage software management tool.
  • Visitors don't have to be logged in to see an image of their personality - this version uses cookies to emulate storage of profiles and images in a database.
  • Advanced users can post images to the site's content area.
  • The quiz now contains 88 questions and contains a versioning mechanism that allows for changes down the road.
  • It includes the ability to add a score based on percentages, using sliders based on the mootools framework.
  • It uses a new template and component that allows users to customize how the site looks. Click on the More... option to try it!
  • It displays google's adsense ads - so maybe we will see a return on this investment!

Finally, this version includes a gallery component, that will be enabled once there are enough images to put into one or more of them.

Last Updated on Monday, 21 December 2009 02:03
 
Now Running Jooomla Version 1.5.3 Print
Technology - Joomla!
Written by Tom H.   
Thursday, 01 May 2008 15:00

This weekend a new version of joomla! turned up in portage

Although this was a first for me and I have made some customizations, it turned out to be a fairly simple task to upgrade from version 1.5.1 to 1.5.3.  I made some notes and wrote a shell script to make this task easier next time.

It's beginning to look like porting groja.com from PHP Nuke to joomla! would be a very good idea....

 
My First Joomla! Template Print
Technology - Joomla!
Written by Tom H.   
Friday, 11 April 2008 19:06

It took a while, but I've finished creating my first joomla! template.  How do you like it?

The "template" used by a joomla! site determines how it looks.  It is commonly called a "skin" and equivalent to a "theme" in the PHP Nuke CMS.

Joomla! templates are written in HTML and rely heavily on Cascading Style Sheets (CSS).  I wrote this one by modifying the rhuk_milkyway template that came with joomla! 1.5, which you would have seen if you visited this site before today.

Last Updated on Friday, 11 April 2008 20:36
 
tomhartung.com: Now Powered by Joomla! Print
Technology - Joomla!
Written by Tom H.   
Thursday, 27 March 2008 21:33

Welcome to the New and Improved TomHartung.com!  What a Long Strange Trip It's Been!!!

Once upon a time I had a blog going over at groja.com, which is based on the PHP Nuke Content Management System (CMS).  Eventually though I decided that I wasn't ready to promote that site, so it was silly to ask people to visit it.  And what's the sense of having a blog if you don't want people to visit it?

Since then I've been looking at other possible blogging tools.  Sure, setting up one at blogger.com would be easy enough, but where's the challenge in that?  I learned a lot while setting up groja.com to run out of my dining room, and want to use this blogging project to learn even more.

Last year there was a lot of hype talk about Ruby on Rails (RoR), and at one point I read that you could use it to set up a blog in something like fifteen minutes.  So I bought a few books about RoR and python and installed and played around with all that.  It is indeed very cool technology, but it's also very new, and after investing a few months in learning it I wound up having difficulty getting it to run under the webserver I use (apache).  Rats!

Then after some more research, I installed zope and coreblog, and played around with them. After awhile it became apparent that these tools were no longer being maintained, and to use the newer versions (coreblog2 and plone) would require unmasking packages in the operating system I use (gentoo).

It turns out that coreblog2 and plone are masked due to security issues, but it's possible to unmask them if one is willing to do the research to learn about and accept the risks.  And these risks are the same as those I am already dealing with on groja.com.  So then I started thinking that if I am going to do this, then maybe I should try a more popular package, such as Wordpress.

And then it occurred to me that if I am going to unmask a package, why limit myself to a blogging package, why not go with a full-blown a CMS?  As it turns out, PHP-Nuke was maybe not the best choice for groja.com, because it is apparently no longer being maintained.

Further research led to joomla!, and I finally took the plunge this week.  At this time it's too soon to say more than, "so far so good!"

Last Updated on Thursday, 27 March 2008 23:40