Web 2.0 Training
 

Random Header :: Unpredictably Exciting

category archive listing Category Archives: Tips and Tricks

Sync your Google and Outlook calendars

Google Calendar Sync: Getting Started
Google Calendar Sync allows you to sync events between Google Calendar and Microsoft Outlook Calendar. You’ll be able to determine the direction of information flow, as well as the sync frequency. Staying on top of your Google Calendar and Microsoft Outlook Calendar events has never been easier!
Keep in mind that […]

Using MVC in PHP Applications.

The Model-View-Controller (MVC) architecture provides a useful three-tier pattern for building software, as MVC patterns decouple the graphical user interface (GUI) from the application logic.
That comes in useful when it comes to changing an application after it has been deployed. Separation of the views from the data means modifications made in the views do […]

Tips to migrate from HTML to xHTML

5 simple steps to migrate from HTML to XHTML .

Open with the proper DOCTYPE & Namespace
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd “>
Write all tags in lowercase
<title>XHTML Rules</title>
Quote all attribute values
src=”xyz.png” and not src=xyz.png
Close all tags
<p>Some Text</p>
Close “empty” tags, too
<img src=”xyz.png” />

A simple shortcut in Javascript !

document.getElementById(’id_of_element’).value
How many of you tried to use this JavaScript’s case sensitive way to access an element ? Have you ever wished for a smaller code to access the element ? If yes… I am here to grant your wish with this simple function.
Just add the following line on the top of your JavaScript code:
function $(o){return […]