why we should use php in website/web application

What is php


PHP (Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.


Advantages of php

1.Easy
2.Control
3.Cost efficient
4.Access to support
5.Platform independent
6.Supports all servers
7.Secured


Why we should use php


1. Scalability – PHP is so simple to scale! In the event your project goes viral, you can bet PHP will be there to make sure its done. Since it has the share nothing architecture, you can for the most part drop another server in a cluster and go. With very little configuration.
2. Programming – PHP is simple to program with. There are more PHP programmers then other languages. So when your company needs a new programmer, it won’t take weeks to find him or her. If you hit odesk or people per hour, you could have a programmer in 10 minutes. Not many languages can say that. Most PHP applications you can hand any PHP programmer and he or she will get it. If its complicated, ether your code is wrong or method of doing the job is too complicated to begin with.
3.  Made for the Web – PHP was designed for the net. Its life is on the net. Its not like other languages that try to do everything and anything. That is when things get bloated.
4.  Frameworks – Tons of frameworks for PHP. I can’t even name them all off the top of my head. Some people love frameworks. My personal opinion is that frameworks are for people who need to get up and running fast or are too lazy to write the code from scratch. Every app I have built is fresh from the ground up. Sure it take more time, but I know every line of code to that app. I have less overhead since it is just my code and not the framework included. Frameworks have their place but that place generally isn’t with me.
5.  Failure rate – As long as your app follows the 5 > PHP version method of programming you should have code that doesn’t fail. If it does its probably the programmer, 9 times out of 10. PHP starts requests every time fresh, one request will not corrupt another. Other languages need some work to handle something like this.
6. Loving Google – PHP is so well documented. It’s not even funny. You can search any function in google (i.e. date php) and you will get the function along with examples and very good explanation. I would say the SOAP server side of PHP needs some more work and documentation but that is the only area of PHP that I have come to dislike. And of course the tried and true method, if you can’t figure it out, just Google it! 🙂 When I have run into an issue I didn’t create, I Google it and bam! I got the answer! I recently had a chance to work on another app with a language I was less familiar with and documentation along with general posts on the net just didn’t exist. If you want to learn PHP, just come up with an idea to build and hit the  documentation. It will be slow going but you will figure it out. Not many languages can say that ether.
7. Community – Kind of going back to 6. but there is huge following behind PHP of full time and hobbyist of programmers with questions and solutions. One thing that separates the PHP and the ASP.net group of developers is the willingness to help. If you have some code that doesn’t work, post the PHP code on any one of the major forums and most if not all the responses will have the answer and the completed code for you! ASP.net not so much. I have seen a ton of occasions where the answer was given but it was vague. And for funny, see the response times. On PHP forums you will see responses in minutes. Other languages its hours, or even days, and some times no response. I have never posted something about PHP and didn’t get a response. Now this is personal opinion with the forum stuff but from my experience this is the case for me.
8. Sharing – PHP code is shared more then any code I believe. Anything you can dream of has been built and a lot of the times its just given away. Open source rocks and PHP is another great case point.

9. Mac friendly –  Remember the days when stuff didn’t work with Mac or it didn’t work with Windows. I mean that still happens a little bit today but 10 or so years ago, this was the norm. My first computer was a Mac Preforma, No clue as to what the model was but it was a all in one unit.Well buying software or accessories was a pain in the, well you get the idea. There are languages out there that are like the Mac of years ago. PHP is NOT like the Mac. PHP pretty much hooks into everything. Native stuff like MongoDB, MySqlDB, Memcache. PHP powers 30% of the internet. You know that one site, called facebook. Yeah, they used PHP. Banks, governments, you name it use PHP. PHP is not a fly by night language. It has plugins to just about everything. Generally your normally apps will be PHP, Linux, MySql. That’s about 90% of all PHP installs.



What kind of framework used in php

These are the Most important  PHP frameworks that are based on the MVC design pattern.
1. Yii
2. CodeIgniter

Comments

  1. Enjoyed reading the article above. It is allows you to integrate MsgClub Bulk SMS API PHP services into your own System/application for better functionality required by you.

    ReplyDelete
  2. Personally I find SMS API integration very difficult but one of my friends suggested msgclub, which offers a simple integration process and it is free of cost. Here are some features about msgclub Bulk SMS API that I found to be helpful.

    ReplyDelete

Post a Comment

Popular posts from this blog

How Bulk SMS Marketing Services helpful for Small Businesses?

Bulk WhatsApp Marketing Service Provider in Delhi NCR

Top 10 Website Content Writing Services India | Web Content Writers |Content Writing Agency