Joomla Basics

13 August '12 by admin, under Joomla, PHP, Web Development.     Email this article to a friend Email this article to a friend

What is Joomla?

Joomla is an open-source CMS (Content Management System) software which lets you publish your website and web contents on the world wide.  Joomla lets you create and update your web pages quickly and easily.

Elements of Joomla

1) Contents: All the contents of your Joomla website are stored in the database.

2) Template: A Joomla template controls the design and presentation (layout, font, colors etc..) of your website contents.

Continue reading this post »»

No Comments

Features of HTML5 and Differences between HTML and HTML5

03 July '12 by admin, under Web Development.     Email this article to a friend Email this article to a friend

New Tags in HTML5:

Semantic/Structural Tags

<article>               Defines an article
<aside>                  Defines content aside from the page content
<bdi>                      Isolates a part of text that might be formatted in a different direction from other text outside it
<command>        Defines a command button that a user can invoke
<details>               Defines additional details that the user can view or hide
<summary>         Defines a visible heading for a <details> element
<figure>                Specifies self-contained content, like illustrations, diagrams, photos, code listings, etc.
<figcaption>       Defines a caption for a <figure> element
<footer>               Defines a footer for a document or section
<header>             Defines a header for a document or section
<hgroup>            Groups a set of <h1> to <h6> elements when a heading has multiple levels
<mark>                Defines marked/highlighted text
<meter>              Defines a scalar measurement within a known range (a gauge)
<nav>                   Defines navigation links
<progress>        Represents the progress of a task
<ruby>                Defines a ruby annotation (for East Asian typography)
<rt>                      Defines an explanation/pronunciation of characters (for East Asian typography)
<rp>                     Defines what to show in browsers that do not support ruby annotations
<section>          Defines a section in a document
<time>                Defines a date/time
<wbr>                 Defines a possible line-break

Media Tags

<audio>     Defines sound content
<video>     Defines a video or movie
<source>   Defines multiple media resources for <video> and <audio>
<embed>   Defines a container for an external application or interactive content (a plug-in)
<track>      Defines text tracks for <video> and <audio>

Graphics Tags

<canvas>     Used to draw graphics, on the fly, via scripting (usually JavaScript)

Form Tags

<datalist>    Specifies a list of pre-defined options for input controls
<keygen>     Defines a key-pair generator field (for forms)
<output>      Defines the result of a calculation

HTML 4.01 tags that have been removed from HTML5:

<acronym>
<applet>
<basefont>
<big>
<center>
<dir>
<font>
<frame>
<frameset>
<noframes>
<strike>
<tt>

Difference between HTML and HTML5:

  1. HTML:  Audio and video requires external software support.
    HTML5: Audio and video has internal specifications and has separate tags ie <audio> and <video>.
  2. HTML: Finding correct GeoLocation is impossible.
    HTML5: JS GeoLocation API helps in identifying location.
  3. HTML: DOCTYPE is much longer as HTML4 is based on SGML-based.
    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN”
    “http://www.w3.org/TR/html4/strict.dtd”>
    HTML5:  DOCTYPE is required to enable standards mode for HTML documents.
    <!DOCTYPE html>
  4. HTML: Vector Graphics is possible with the help of technologies such as VML, Silverlight, Flash etc.
    HTML5: Vector graphics is integral part of HTML5 e.g. SVG and canvas
  5. HTML: Does not allow JavaScript to run in browser. JS runs in same thread as browser interface.
    HTML5: Allows JavaScript to run in background. This is possible due to JS Web worker API in HTML5.
  6. HTML: Works with all old browsers.
    HTML5: Most of modern browser have started supporting HTML5 specification e.g. Firefox, Mozilla, Opera, Chrome, Safari etc.

No Comments

Setting Up Automatic Database Backup Through Cron Job

28 December '11 by admin, under PHP, Web Development.     Email this article to a friend Email this article to a friend

Just run the following mysql command in command text box in your hosting account’s cron job manager -

mysqldump –opt -Q -h {your_domain_name} -u{your_username} -p{your_password}
{your_database_name} | gzip
> {full_path_of_your_backup_directory}/auto_backup_`date +\%Y\%m\%d\%H\%M\%S`.sql.gz

Just replace {your_domain_name},{your_username},{your_password},{your_database_name} and {full_path_of_your_backup_directory} with appropriate values.

Example:

mysqldump –opt -Q -h myserver.com -ubob -p123456 bob_db | gzip
> /home/bob/public_html/auto_backup_`date +\%Y\%m\%d\%H\%M\%S`.sql.gz

No Comments

How To Enable Gzip Compression From htaccess

13 December '11 by admin, under PHP, Web Development.     Email this article to a friend Email this article to a friend

Simply add the following code in your .htaccess file and you are done.

#Gzip

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css 
application/x-javascript application/javascript
 
#End Gzip

No Comments

PHP Script To Bulk Change Collation Of All The Tables In A MySQL Database

28 November '11 by admin, under PHP, Web Development.     Email this article to a friend Email this article to a friend

Sometimes we run into a requirement where we need to add the support for multiple languages in our application and you may find out that your database collation is ‘latin1_swedish_ci‘, which does not support multibyte languages like Chinese, Japanese etc.. In this situation you will need to change your database collation to ‘utf8_general_ci‘.

This simple script below will let you change the collation of all your database tables in bulk. Just create a new PHP file and paste the code below into that file. Run the file and you are done.

Continue reading this post »»

No Comments

PayPal Integration Scenarios To Be Checked While Integrating Paypal Into An Application

22 November '11 by admin, under PHP, Web Development.     Email this article to a friend Email this article to a friend

Below are common scenarios that need to be checked while integrating PayPal into an application/website. These can be utilized it while integrating in your projects.  If I’ve missed something, you can also suggest more in the comment section below.

Continue reading this post »»

No Comments

List of Spam IP Addresses

01 August '11 by admin, under Web Development.     Email this article to a friend Email this article to a friend

Last Updated on 28 November, 2011

Just want to share this list of spam IP addresses to help webmasters prevent their sites with automated spam attacks. The IP addresses in this list have been captured after they were used to either register an account automatically or visit the websites automatically through spam bots on the various websites I manage. In case you don’t know, the automated registrations and visits are achieved with the help of scripts running on various dedicated and virtual servers. You can block or ban these IP addresses whichever way you find it suitable. I hope you will find it helpful.

This list is updated regularly so keep yourself updated with the latest additions of spam IP addresses.

Continue reading this post »»

2 Comments

A Quick Overview Of Twitter

07 April '11 by admin, under Social Media, Twitter.     Email this article to a friend Email this article to a friend

Twitter is an online social media website. Anyone can use Twitter, as long as they have Internet access and an email account for sign up. There are many aspects that make this site interesting and quite unique from other forms of socialization. Twitter is much like a quick wave to a neighbor, to let them know what you are up to, but instead of being person to person contact, it is done online. Twitter is growing by leaps and bounds, due to the number of news organizations, online gurus and celebrities that have taken to it.

Continue reading this post »»

No Comments

What Makes People Unfollow On Twitter ?

06 April '11 by admin, under Social Media, Twitter.     Email this article to a friend Email this article to a friend

The goal of Twitter is to interact with other people. It goes without saying that you do need to follow at least a few people so that you could interact with them. But, there comes a time when you may be hitting the un-follow link more often than you had hoped. The reasons for this are quite simple most of the time. You just do not like the person. There are two things to consider here. First, consider why you should un-follow people on Twitter. Second, determine what you should avoid doing so that people do not stop following you for those actions.

Continue reading this post »»

No Comments

What Do You Wish to Accomplish Using Twitter?

01 April '11 by admin, under Internet Marketing, Social Media, Twitter.     Email this article to a friend Email this article to a friend

Twitter may seem like a simple tool used only to communicate with others in a passing method. Yet, it can be used in various ways. Many people have set out to use Twitter with specific goals. They want to accomplish one thing or another by posting the short, 140 character messages about what they are doing. Some of the best bloggers and Internet marketers are noticing that Twitter is actually quite capable of helping individuals to accomplish various things.

Continue reading this post »»

No Comments

Page 1 of 512345