Archive for the ‘Programming’ Category

HTML and JavaScript Code Optimization

This item was filled under [ Programming ]

Every web site owner wants their site listed in search engines at the highest ranking position, but they overlook what might be damaging their possibilities. The key is to make sure your HTML and JavaScript code contains all important close tags and optimized short coding – error free!

Your HTML code might possibly contain errors that were mistaken for spamming techniques. Your web site HTML code most certainly needs to be clean and without ANY errors in order to maximize your site’s ranking potential, thus, making your code search engine friendly.

If you have JavaScript running on your web pages for certain scripts, search engines do not read JavaScript. This will eliminate the search engine to read important content. To do this, optimize your JavaScript and create short, but clean JavaScript code by outsourcing files. This will also keep your web page code in uniform for search engines.

VN:F [1.8.4_1055]
Rating: 4.5/5 (2 votes cast)

  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz
  • Live
  • Sphinn
  • Spurl
  • MySpace
  • Ping.fm
  • Reddit
  • SphereIt
  • YahooMyWeb

Continue reading...

Put Style In Your PHP Commenting

This item was filled under [ Programming ]

It doesn’t matter the style of coding you use, a largest portion of your code should be comments. Each file that you create, should begin with a code block describing the files/scripts purpose, the version number, the author, and copyright message. And it doesn’t matter if it’s a single script or a whole application with many scripts.

The language in which PHP supports is separated by three types of comments and they are shown below.

  1. < ?php
  2. // Comment C++ Style
  3.  
  4. /* Comment C Style */
  5.  
  6. # Comment Unix Shell Style
  7. ?>

(more…Wink

VN:F [1.8.4_1055]
Rating: 5.0/5 (2 votes cast)

  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz
  • Live
  • Sphinn
  • Spurl
  • MySpace
  • Ping.fm
  • Reddit
  • SphereIt
  • YahooMyWeb

Continue reading...

What do image ALT tags and text link tags do?

This item was filled under [ Programming ]

Image ALT tags are the little labels you see when you mouse over an image. This gives search engines keyword-rich information about the image file. Text link tags do the same thing for existing text links. Both forms of tags increase the keyword-rich content of your page and help improve your search engine ranking.

VN:F [1.8.4_1055]
Rating: 4.0/5 (1 vote cast)

  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz
  • Live
  • Sphinn
  • Spurl
  • MySpace
  • Ping.fm
  • Reddit
  • SphereIt
  • YahooMyWeb

Continue reading...

What does CHMOD or “Change Permisisons” mean?

This item was filled under [ Programming, Web Development ]

It means to set a certain permission on the file or directory. The most common chmod commands are 644, 755 and 777. You can chmod in Cpanel in File Manager by selecting the file and clicking on “Change Permissions”. To chmod a certain file or a category using an FTP client, find something like “Change
File Attributes”, ?Properties?, or ?Chmod? and enter the chmod command script instructions tell you.

Permissions
u – User who owns the file.
g – Group that owns the file.
o – Other.
a – All.
r – Read the file.
w – Write or edit the file.
x – Execute or run the file as a program.

Numeric Permissions
CHMOD can also to attributed by using Numeric Permissions which are summed together:

400 read by owner
040 read by group
004 read by anybody (other)
200 write by owner
020 write by group
002 write by anybody
100 execute by owner
010 execute by group
001 execute by anybody

VN:F [1.8.4_1055]
Rating: 4.0/5 (1 vote cast)

  • Digg
  • del.icio.us
  • Google Bookmarks
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz
  • Live
  • Sphinn
  • Spurl
  • MySpace
  • Ping.fm
  • Reddit
  • SphereIt
  • YahooMyWeb

Continue reading...

Page 1 of 11