Showing posts with label templates. Show all posts
Showing posts with label templates. Show all posts

Monday, September 06, 2010

Upgrading to APEX 4.0: Templates

In the last weeks I migrated more applications from APEX 3.x to 4.0 and thought to share my thoughts on the Theme and Templates part of the application.

I've applications that were initially build in APEX (HTMLDB) v2 and other build straight with APEX 3.x. Some applications used a build-in theme, but more had a custom look and feel.

Most migrations went ok, but I did have issues when I used templates which didn't have all tokens (#...# things in html that get replaced at run time by APEX) e.g. with tabular forms (but I'll do a specific blog post on that - and is already a known issue).

I'm personally following the path of installing a new APEX 4.0 theme for my application and apply changes to that to get the same look and feel I had before. Or at least I verify my custom templates to support the new APEX 4.0 features.
I also try to update it to a nicer and more up-to-date look and feel.

The reason why I'm following this approach are multiple:

  • better w3c compliant
  • easier for screen readers (for disabled people)
  • fresher and more up-to-date look and feel
  • support for all new APEX 4.0 features
  • more div/css based layout, which makes it more clean and easier to adapt in the future
But obviously you should decide yourself if it's worth updating your templates in your applications ...