What’s in a name?

April 9th, 2010 by Werner Glinka

I have been quiet for a while. For the last year I have been very busy building websites using everything but Joomla. I built a large static website, all with inline styling and javascript because the client wanted it. They already had a large base of legacy code to maintain and to make it easy for their support staff, they ask that I code the pages in the same style. I started to use jQuery to apply behavior to pages and I am still amazed about what one can do with so little code. And I ended up developing a couple of websites in Drupal, because a customer wanted it. Also, I had been intrigued about Drupal and wanted to see what the jazz was all about. I had read blog posts comparing Joomla to Drupal, many written by people who where really biased towards one of them.

There is an overall consensus in that Joomla allows a newcomer to build a site fairly quickly and Drupal has a steep learning curve. Joomla has a ton of modules that just plug-in and work - well, many of them do. The modules are monolithic in nature and one gets what the designers envisioned the module to do. However, even a small change requires a hack to the module code. Drupal on the other hand has many modules - actually, thousands - that are less solutions but building blocks. I found that Drupal’s learning curve was not as steep as I had expected. Knowing Joomla was a great help. There is one big difference, however, most Drupal extensions and modules are free, the important Joomla extensions are not.

Although I named my blog “To Joomla Or To…” my reality is that I design and implement websites using all types of technologies and tools, Joomla is just one of them so I have decided to change the scope of my blog to reflect that. I am still mulling over a better name to go with that.

Testing Windows IE Compatibility on my Mac

July 16th, 2009 by Werner Glinka

ietesting

The event of virtual machines for the Mac really made live easier for web developers. No longer do we need different computers with different operating systems with different browser versions to test our creations for broad web compatibility. Using a virtualization product like Parallels or VMware gives us the flexibility of running multiple instances of Windows, Linux, Solaris and other OSs on a single Mac, at the same time. Browsers for these client operating systems run at native speeds.

Read the rest of this entry »

Using PHP, MySQL and XDebug under Mac OS X Leopard - Part 3

July 16th, 2009 by Werner Glinka

exclipse_xdebug

In Part 1 and 2 of this short series on how to setup your Mac as a web development station I described how to install Entropy PHP, mySQL and XDebug for Mac OSX 10.5. In this last part I’ll look into setting up Eclipse for editing and debugging PHP code. This setup will be helpful when developing custom extensions for Joomla or for just exploring the inner workings of third party components, modules and plug-ins.

Read the rest of this entry »

Using PHP, MySQL and XDebug under Mac OS X Leopard - Part 2

May 13th, 2009 by Werner Glinka

exclipse_xdebug

In my last blog I wrote about how to set up the Mac with a viable PHP version and enable multiple virtual local websites. Today I will finish the subject with describing how to install MySQL and XDebug. That will leave us with a complete Mac based web development workstation.

Installing MySQL

The MySQL package is a breeze to install. It is all very nicely explained here.
This install looks just like any regular Macintosh application install. Just follow the prompts.

Read the rest of this entry »

Using PHP, MySQL and XDebug under Mac OS X Leopard - Part 1

April 29th, 2009 by Werner Glinka

part1

Until recently I have used MAMP for all web development on my MAC. MAMP provides an integrated server environment with Apache, MySQL and PHP all in one install package. I recently started using the Eclipse IDE for php development and when I wanted to install Xdebug to use its remote debug capabilities I ran into too many problems with MAMP PRO. I also noticed that MAMP users looking for help in forums often left trails that did not have a solution. Also I never got the impression that the folks at eLiving, the creators of MAMP, are that helpful. So I decided to reconfigure my development setup and use the built-in MAC resources. Since the Mac OS X is in essence a Unix machine I’ll have the whole Unix world to help me….

My goal was to use the Apache server and PHP installation that already exists on the Mac. However, I found the native Mac php module useless for what I wanted to do. (This has something to do with the fact that the Leopard kernel runs as a 32 bit module but Apache2 runs on 64 bit…???) I ended up installing Entropy PHP. Since most of my sites need a MySQL database I also needed to install MySQL. And finally I wanted to install XDebug to be used with an Eclipse IDE or - hopefully someday - the Aptana IDE which is the best IDE I have found, but it isn’t there yet for remote debugging.

Read the rest of this entry »

An Example of a Template Override

April 9th, 2009 by Werner Glinka

I do not like the layout of Joomla’s Search Form so when I recently worked on a website I decided to change it. This could have been done easily applying specific css, but it seemed to be a nice exercise in practicing my template override knowledge.

The view that needed changing was com_search/views/search/tmpl/default_form.php

This view outputs its data in tables so I decided to use css to position the elements in these views.
Read the rest of this entry »

Using Template Overrides

April 8th, 2009 by Werner Glinka

Most Joomla components and modules are designed in a modular format that separates the user interface from the applications logic. This pattern is called MVC which stands for Model View Controller. The important thing for web designers to understand is that this modular approach allows us to change or style the way application data is presented in the browser with only limited knowledge of how this application works.

Read the rest of this entry »

Giving Google a Hand… Using a Sitemap

April 2nd, 2009 by Werner Glinka

Today I’ll describe how to submit a sitemap to Google and Yahoo so that these search engines can more intelligently crawl our site.

Typically, I use an extension to generate a dynamic sitemap on my websites. I use Xmap. Xmap’s sitemap is used to aid humans in finding what they are looking for. However, this sitemap is NOT what Google and Yahoo are looking for.
Read the rest of this entry »

Making SEF URL’s work

April 2nd, 2009 by Werner Glinka

One of the biggest concerns that people employing dynamic websites have is the URL structure of Joomla. Consider these two URLs:
http://www.wernerglinka.com/bibliography/30-change-of-context
or
http://www.wernerglinka.com/index.php?option=com_content&view=article&id=30:change-of-context&catid=8:bibliography&Itemid=11.

Both point to the same page! Which one would a human visitor prefer and which one would a search engine crawler prefer? I know the answer to the first part - I prefer the first easy-to-read URL. But what about search engines?

Read the rest of this entry »

Basic Extensions - Part 2

March 31st, 2009 by Werner Glinka

There are many extensions that make life easier when “assembling” your Joomla website. The ones described below are used in almost all of my websites. They have become my “infrastructure” friends.

Read the rest of this entry »