Archive for the ‘HTML’ Category

Learn PHP Online

Monday, October 31st, 2011



You probably have a good idea already, but if you don’t, PHP is one of the most popular programming languages for the online environment today. PHP is clean and simple to use and the syntax can be learned very quickly, especially if you already know a programming language.

If you are interested in learning a powerful programming language to code online applications and software, then you should definitely look into PHP development. If this is your first step into the programming world, this can be a great way to get started.

Because PHP is so powerful, you will find that from the very first day, you can begin programming your very first projects in PHP and seeing results online. The great part about using PHP is that it is an online programming language so you can put up your projects and show them off to the rest of the world immediately!

PHP is often used with MySQL which is a scripting language that accesses database and gives you further command over a variety of tasks that you can accomplish online. By using databases, you can do a lot more like collecting and storing information or keeping records of various data.

If you haven’t already, you may want to search online for code samples of PHP programs. There are many free scripts available and looking at one such script will give you a good example of what programming in PHP is like. If you don’t understand anything yet, do not worry. There are plenty of good resources out there for PHP since it is so popular.

Getting started in programming PHP is easy once you have made the decision to become proficient in it. Just pick up a really nice learn PHP online resource and jump right in! You will find that you will be programming in PHP in no time.

So, if you want to learn PHP online, improve your skills to get a better job or simply want to code a really cool application for your website, then PHP is the way to go. You will not be disappointed in any of these categories no matter what your reason is for starting in PHP. It is always highly in demand and as the internet continues to progress, it is likely that more and more people will need PHP work done for their websites and other projects.

Easy PHP Programming

Full Time PHP Programmer Or Fixed Cost? What Model is Good For You?

Thursday, October 27th, 2011



There are numerous companies in developed world which have explored Indian software developing companies for their outsourcing work. According to prevailing standards, they may have chosen one of the model for hiring PHP programmer or developer, either Full time or Fixed cost means contract based. Both have their own pros and cons. Let us see it by its various aspects and see that how is it useful for offshore companies who are seeking outsourcing work in India.

Job Duration

Fixed cost project in programming industry are of various duration it may last up to one month, 3 months, 6 months, one year or more. Fixed job are likely prone to end at any stage and that depends upon the service obtaining company. This does not happen with full time hiring model. They are more likely to move to another project if one project is finished earlier or terminated unfinished.

Job Satisfaction

PHP programmers are expected to deliver good and standard coding even within the time limit and within a budget if the cost of project is fixed. If PHP programmer does this, he or she will be rewarded with good feedback. This way fixed cost developer has to live for the satisfaction from being good at what he or she does.

In full time model PHP programmers are expected to love the company. Dedication is demanded here. Therefore, job satisfaction comes with working in team of other programmers with some common goals. With time bonds, affection and ties with each other programmer grows and company deepens. So outsourcer builds a long term relation with the outsourcing company in India as well as developers.

Income

There are chances that fixed budget projects may totally earn more than full time PHP programmers do. But there is uncertainty always lies ahead and the offshore company has to find constantly search for next assignment after 3, 6 or 12 months. Bench time or unpaid time is proving a litmus taste for fixed cost programmer as well as outsourcing company. The shock of one month sitting without project and payment shattered self-confidence of many outsourcing companies and their developers.

Benefits

Fixed projects come with over all higher amount of money than the full time hiring models. Though the difference between full time and fixed cost is that it is different in terms and conditions for fixed cost hiring because project changes and requirement changes time to time, whereas it is consistent in case of full time hiring programmer model.

Technical development

Fixed cost programming demand sharpest skill and due to these skills only programmer can earn. To get consistent earning fixed cost programmer and outsourcing company has to take many projects on hand therefore, the fixed cost programmer is left with no time to develop skills further or learn a new programming skill. In contrast to this, full time hired PHP programmers have enough facility to go for learning sessions or spare time to advance their skills. In short full time hiring will absorb a PHP programmer with rusty skill but fixed cost PHP programming never allow low skilled programmer to enter.

If you are company and seeking long term association with outsourcing companies in india, hire full time PHP programmers with them. But if you are an individual and you are not sure about your funding sources, rather assign a fixed cost project to a company in India and relax till project finishes.

Easy PHP Programming

PHP Development Services Helps Software Development Company

Friday, October 21st, 2011



What is PHP?

PHP is a popular and widely used programming language used for website development. PHP stands for PHP: Hypertext Preprocessor. PHP is server side scripting language for creating Web pages. PHP is very easy to understand & learn. It supports most common databases like Oracle, Sybase and MySQL. It also includes external libraries to generate PDF documents and parsing XML. It is an open-source language which is used by large group of developers.

Web Software Outsourcing has successful PHP developers. Various PHP Web Programming solutions include Ecommerce Solutions, shopping carts with content management system, CRM Solutions, Community tools Web Calendars, Chat software and Discussion forum. Our PHP Development Service enables clients to store and display content on their site effectively. PHP is a server side scripting language that facilitates developer in making dynamically driven websites.

What are PHP benefits?

PHP is a free open source language. That means you don’t have to pay thousands of dollar as the license fee to acquire PHP. Best of all, it is easy to install. The most striking feature of it is that it is easy to learn. PHP is used by millions of people and developers around the world. There are thousands of websites on the internet which are written using PHP.

Advantages of the PHP development services:

o Low development and maintenance cost
o High performance and reliability
o Ability to embed itself into the HTML code
o Compatible with servers like Apache and IIS

PHP can greatly develop the functionality of your website. It allows you to write scripts which let your visitors interact with you through your website. In your business PHP website, you can get feedback of your products and services from your customer. Our PHP Development Service has strength, addition and support for web standards making it the perfect fit to create and arrange modern web applications.

Easy PHP Programming

Using Three PHP Functions to Work With MySQL Databases

Thursday, October 20th, 2011



If you want to be considered an effective and avid PHP programmer, then there are some topics in the language that you should without a doubt know. One of the biggest, most important topics in PHP is dealing with database connections, especially ones with the MySQL database platform.

If you know how to work with a MySQL database in PHP, then you can make just about any website with dynamic content. You will be able to handle user registration, commenting, blog posts, and more. The very first thing you should learn when dealing with databases is how to connect. The following PHP code is how you connect to a MySQL database:

$host = “localhost”;
$username = “db_username”;
$password = “db_password”;
$database = “db_name”;
$dbc = mysql_connect($host, $username, $password);
mysql_select_db($db_name, $dbc);

You may be sitting there wondering what this code does. If you have programmed in PHP before, then you know that $host, $username, $password, and $database are all variables. Each of these corresponds to what the variable is called. For example, $host is the host that the database is located on (99% of the time it will be localhost), $username is the username to access the database, $password is the password associated with the username, and $database is the name of the database we are connecting to.

The next two lines are PHP functions. The first function, mysql_connect, makes a connection to MySQL on your host. It returns a link identifier in case you are working with multiple connections. The parameters it takes are the database host, the username, and password. The next function, mysql_select_db, selects the database we will be using. The two parameters are the database name and the link identifier (link identifier is optional, but good practice).

Using these lines of code is how you make basic access to a database. Once you do this, you can do many things like retrieve data and add data using the mysql_query function. This function also takes in two parameters, a query string and the link identifier. A good example of using the mysql_query function is:

$query = “INSERT INTO table (column1, column2,…) VALUES (‘data1′, ‘data2′,…)”;
$result = mysql_query($query, $dbc);

Obviously this code will not work with the ellipsis; this is just to show you can have as many columns in there. These two lines of code will insert data into the database. The first line assigns a query to the $query variable. The second line runs the query with the associated link identifier (optional).

Once you master these three functions, you are well on your way to becoming an expert at PHP programming with databases. There are many other functions that you should learn that work well with databases, but these 3 are a good start.

Easy PHP Programming

Why Use the Universally Accepted PHP Start & End Tags?

Thursday, October 20th, 2011



Believe it or not, but there is PHP programming code that will not work on every installation. This is often a big problem for the developer. Code that is working correctly on the developers computer, and on the web server, may not work on other web servers.

The start and end tags are the culprit. The following tags are most widely used when developing code. These are available with a default installation of PHP.

Line 1:

Line 1 is the start tag. It tells the PHP interpreter to start processing the program. Line 2, is the end tag, it tells the interpreter to stop processing the program. There are 2 other tags to be aware of. These are not enabled by default. They require you to change the settings in the php.ini file

Note: php.ini is a text file that holds the configuration settings for the PHP engine. Once these are changed, the web server must be restarted for the changes to be accepted.

Short Tags:


These are enabled with the ‘short_open_tag’ directive found in the php.ini file.

ASP Tags:


These are enabled with the ‘asp_tags’ directive found in the php.ini file.

Why would you choose one of the over?

A good developer is always looking for ways to save time. One tactic is to write less code. Beginners do not always know how to write less, like the more advanced developers. Advanced developers use shortcuts wherever they can.

One thing they do to reduce the amount of words in the program by typing:



Even though it is only three characters less (p-h-p). Not typing 3 characters adds up over time.

This is not a good idea. In the short term it may work. But a good developer must always be thinking about the future. How will the code grow, where will it end up.

As a website matures, so does the programming code. As a site gets larger, it is ofter moved to a new web server. The problem is that all web servers are not setup the same way. If short tags are enabled in the beginning. They may not be enabled on the next web server. Do you see the problem.

Bottom Line: Use the universally accepted PHP tags to ensure the success of your web programming project

Easy PHP Programming

Fundamentals of ASP.Net Programming vs PHP Programming

Tuesday, October 18th, 2011



Hyper text preprocessor (PHP) and Active-server-pages (ASP) are the two standard programming languages for website application development and more significantly when it comes to produce database-driven websites to interrelating hugely with databases. PHP is an open-source programming language which is derived from lots of different languages. On the other hand ASP is such kind of programming languages which preferring Microsoft product mostly.

Both programming languages PHP and ASP are used to develop dynamic database oriented websites. Active Server Pages (ASP) is normally from Microsoft and is used only with Internet Information Server (I.I.S.) that runs on Microsoft Servers also. But on the other hand you can say PHP is platform independent programming languages and can connect with several kinds of databases.

There are a lot of differences between ASP and PHP.

Expenditure

To run ASP.net programs first need to install I.I.S. on a Windows server platform, this is not a free package. PHP programs can run on Linux, which is free package. Even the database connectivity is expensive for ASP, because it require ms-S.Q.L product of Microsoft that needs to be acquired. Same time on the other hand PHP generally uses My-S.Q.L for database connectivity, which is freely accessible.

The Simplicity in Coding

PHP codes itself are very light in weight, a contract programmer who begins his career into PHP, does not felt any pressure to look the source code to understand. Whereas In ASP codes are not so easy to quick understand.

Database Compatibility

PHP generally being extremely flexible as it uses My-S.Q.L for database connectivity, which is freely accessible. Same time on the other hand Database compatibility is expensive for ASP, because it require MS-S.Q.L product of Microsoft that needs to be acquired.

General Run Time

If we evaluate the running speed of PHP and ASP then PHP should gets the upper hand. Normally it is viewed that PHP code runs quicker than ASP code. Due to COM based architecture, ASP uses server space to run while PHP code runs on its own inbuilt memory space.

Background Language Support

ASP has a similar like Visual Basic type of syntax that also linked to Microsoft products as well. On the other hand PHP codes are based on generally C++ language and the syntax, which is used in PHP, is quite similar to C/C++ syntax. C/C++ is still considered by maximum software programmer is the finest programming language and people who love C++ language would certainly feel more relaxed with the PHP syntax.

Running Platform Connectivity

PHP codes can run on different platforms like UNIX, Linux, and Windows whereas ASP codes are mostly linked with Windows platforms. Though, ASP programs can run on a Linux platform with the help of ASP-Apache installed on the server.

Further Tools Cost

Several tools used in PHP are mostly free of cost in the market and as PHP is open source a lot of codes can be available in open source forums and blogs. PHP has inbuilt attributes like ftp, encryption methods, even email also from a web page but in ASP such attributes are not obtainable and for this reason only some more features are required which are not free that increase the total cost as well.

Larger Applications Support

PHP is just as protected as ASP from coding level. The main difference is only for private data like “social security numbers”; “PIN numbers” etc. ASP is more practicable option. Organizations like government firms normally don’t have much stipulated commercial budgets and looking for required security, they really helpful ASP.net.

At the end, we can make a conclusion that both programming languages have their advantages and disadvantages specific to user requirement. It can be said that both the programming languages have their own significance depending upon the users requirements and budgets. It is viewed that in any discussion board, ASP.net is similarly capable but many of them suggesting PHP for small business owners those who have a fixed budget and does not required superb security support. PHP cannot provide e-commerce application development, only for them ASP.net will be the best choice.

Easy PHP Programming

How to share Circles in Google+

Thursday, October 13th, 2011

Google+ has recently introduced circle sharing feature which would let Google+ users to share their circles with friends. This article will show you how to share circles in Google+.

1) Sign in to your Google+ account here

2) Click the Circles tab on the top of Google+ homepage

3) Locate the Circle you want to share and click it

4) Click on Share

A share circle form will appears at the bottom of the Share circle, click +Add more people to add the Circles you wish to share the Circle with.

5) Click the Share button when finished.


Zainal

Turn long Google+ URLs into shorter URLs

Friday, September 23rd, 2011

If you are Google+ user, may have noticed that sharing of your Google+ profile pretty cranky. Currently Google+ offers no option to enable a shorter URL or custom URL like Facebook and Twitter. With URL shorterner service, it automatically shortens a long URL to a short domain name and uses only 5 or 6 character. This service are very useful when you need to send your google plus profile to your friends and collegues via web, twitter, email, SMS or phone.

Take advantage of these URL shorteners services and turn your long Google+ URL profile to something like gplus.to/ilmuit.

1) gplus.to
2) plus.ly
3) goplus.us
4) gplusnick.com


Zainal

Dota 2 Screenshot

Thursday, August 18th, 2011

Dota 2 game will be publicly released this week with a million dollar invitational tournament at GamesCom 2011 in Cologne, Germany.  Here’s DotA 2 screenshots I found from the other blog,  DOTA 2 Experts believe these are leaked DoTA 2 in-game screenshots. They look good. Credit to Dota2Blog.

Wonder what sort of requirements they need to meet in order to run DoTA 2 when it is finally out? See below:

Doombringer

Nevermore (Shadow Fiend)

Vengeful Spirit

Dazzle

Roshan

DotA 2 Minimum System Requirements: (DOTA2 minimum configuration requirements)
Operating System (OS): Windows ® 7 / Vista / Vista64 / XP
Processor (CPU): Pentium 4 3.0GHz
Memory (RAM): 1 GB for XP / 2GB for Vista
Graphics (GPU): DirectX 9 compatible video Card with 128 MB, Shader Model 2.0. ATI X800, NVidia 6600 or better
Hard Drive: At least 2.5 GB of free space
Sound: DirectX 9.0c compatible Sound Card


Zainal

3 PHP Fundamentals Beginners Must Understand to Succeed

Sunday, August 14th, 2011



As a beginning student of PHP, you must understand 3 important fundamentals. Your lesson will begin with three definitions.

- scripting language

- start/end tags

- interpreter

A scripting language is the way a programming language was created to read and process your programming code. A scripting language like PHP uses start and end tags to start and end this process. These tags tell the built in interpreter that PHP programming code is between these tags. Line 1 and line 3 below are the PHP Start/End tags.

Example 1

[Line 1]

The PHP Interpreter is the built in part of the programming language that reads and processes the code that you write. The code that you write is your program. In the example above, the Interpreter reads line 2. Line 2 is a comment, a way to place information inside your PHP program so you can remember it.

PHP is an interpreted language, which simply means the processing of your program is done on the fly. As your programming code is read by the interpreter, it is processed in that very moment — line by line.

[note]
Java, on the other hand, is a compiled programming language. It has a built in compiler. Java is the opposite of PHP, and the ‘in the moment processing’. The built in compiler processes (reads) your code and creates a compiled copy before it can be used.

PHP is a scripting language. The code you write is processed in the moment. This processing begins when the built in interpreter finds a PHP start tag. It then reads and processes your programming code. This continues, line by line, until the interpreter finds the matching PHP end tag.

The interpreter is the ‘processing engine’ of PHP. It runs behind the scenes reading in your PHP programming code, processing the instructions that you wrote, and then performing the actions you commanded it to do. This process is automatic. To start and stop the Interpreter (processing engine), you must use scripting tags.

There are two main PHP Scripting Tags. One is the the PHP start tag, the other is the PHP end tag. Start and End tags tell PHP to start ‘processing’ your page

For example, using PHP to output your favorite color to the screen, you would type:

Example 2
[Line 1]

Line 1 and line 3 are the start and end tags. These tags tell the interpreter to start interpreting (reading and processing) the PHP commands contained within them. In this case the Interpreter reads the line 2:

echo ‘My favorite color is blue’;

The built in command ‘echo’ tells the processing engine to output to the screen whatever follows it. In the example above. The output to the screen would be:

My favorite color is blue

EASY PHP PROGRAMMING STEPS:
Step 1. Start the processing by writing the start tag as shown on line 1.

Step 2. Place your PHP commands next. Do not forget to end all your commands with a semicolon.

Step 3. End the processing with the end tag as shown on line 3.

Step 4. Save your program file with a ‘.php’ extension (i.e. getTheDate.php)

Conclusion
PHP is a scripting language. It has a built in interpreter. A scripting language uses start and end tags to call the interpreter. An interpreter reads and processes your programming code. Your PHP program can be one line or thousands of lines. But it starts and ends the same way every time — with a PHP start tag and PHP end tag.

Easy PHP Programming