Friday, October 18, 2013

Is php better than java, .net or any other language?

copied from: http://letsbefamous.com/featured/is-php-better-than-java-net-or-any-other-language.html
-----
Which is the best programming language out there? Is there scope in php or does php language has better career scope? Which language should i use for my applications? Is php safe and secure?  As a technology and career consultant , i come across above questions almost everyday. With this post, i am just trying to put my views which might help people in their decision making.

Best Programming language?

Asking about best programming language is rather relativeNo language is best and no language is worst. Its only depends on the perspective we use the language. PHP has been used to make small websites as well as huge websites also like facebook,yahoo, digg. It depends on us as to how we use that language. I personally like PHP above other languages because of ease of use, easy deployment and it provides huge expandability options along with cost savings. Since PHP is so powerful and popular, there is huge career scope in PHP language. Scope can just be realized with the fact that more than 75% of the websites on Internet is made in PHP. However, i do feel that when people ask me about scope they rather mean the earning capacity associated with that particular language. And, let me be frank guys, there is huge money out there provided you are skillful.

Which language should i use for my applications and Is PHP secure?

You can use any programming languages. But, Obviously, my choice would be to go with PHP. Huge applications like facebook.com, digg.com, yahoo etc are developed in PHP. There are  many reasons to choose PHP over other languages. Cost savings, Easy deployment, Huge support, reliability are just few advantages of PHP. Many larger companies have used PHP and also enhanced PHP in many ways. Companies like facebook and Yahoo have released so much resources for the php open source community, that you can use those knowledge to build a useful and scalable applications at very affordable cost.
There are many people, companies and developers who will discourage you to use PHP, but that should not bother you as they are all literally wrong. I share some common statments which you might have heard somewhere, or you will hear it somewhere.
  1. PHP is Not Fast: Man, if programming is done correctly php can execute faster than other programming languages. There are many libraries which actually does make your applications and codes run faster. Hip-hop for php will compile php into highly optimized c++ and provides huge performance gains. Of-course, you should know how to use it.
  2. PHP is not secure: Now this again is foolish statement. Security basically depends on the knowledge of person who is using the language. If the person is knowledgeable he can write codes which is quite tough to hack or crack. What is the use of make a concrete house, when you forgot to lock it. That being said, there is no application which is 100% secure. Security is just a mind game.
  3. PHP is for small applications: Who are you fooling man? Some of the world biggest applications work on php. Say for example facebook, yahoo, google, wordpress, wiki’s . May be you need some exposure.
  4. PHP has no scope:  Ohh.. Really.  More than 75% of the web is powered by PHP. If PHP doesn’t have scope what else have?
  5. Low salary with PHP: Now again, salary is not something which depends on language. It depends on your knowledge and your skills. Salary depends on the value which you provide to the market place. People  have been earning as high as $200,000 annually with php as a experienced developer.
  6. PHP cannot handle Loads: Thanks you pointed this out.  Do you think, facebook, yahoo, wordpress, wikipedia doesn’t get any traffic. How come and why come most of the top 100 websites of the world are powered by php?
Thant being said, i do feel that there is lack of awareness among developers for this language.  I haven’t seen PHP as a part of any approved course ware (India), i have never seen any company promoting PHP and this is one of the most important reasons that people fail to understand the importance of PHP. Also, since php is fairly easy to understand people just thing that they have become expert in php and start expecting huge benefits for them. PHP is quite vast and people are not aware about this. Just writing  a simple and function, isn’t going to give to any considerable competitive edge.

Try PHP on OpenShift For Free

STEPS


1) Read the overview on : https://www.openshift.com/developers/php



1a) Additionally, read general git instruction guide https://www.openshift.com/developers/rhc-client-tools-install

(What is Git?)



2) To create PHP application of OpenShift, follow steps on http://blog.delouw.ch/2013/06/08/creating-a-php-application-on-openshift/


3) To setup Windows-GUI-version of Git, follow the guides here, https://www.openshift.com/blogs/accessing-your-code-for-your-openshift-application-via-windows-explorer-using-tortoisegit
TortoiseGit for OpenShift setup screen image



1FreeHosting.com: free hosting with PHP, MySQL, cpanel and no ads!

-----

1FreeHosting.com

Setup Steps for 1FreeHosting.com free web hosting service

1) Go to http://www.1freehosting.com/
Click "Get Free Hosting".


2) Fill-in the required details.

3) Click Log In.


4) Enter your E-mail and Password.


5) Notice the main menu bar at the top.


6) Click Control Panel tab.



7) Create a new free sub-domain using hostingsiteforfree.com domain.


8) Sub-domain account has been successfully created.


9) Click Switch button to manage the sub-domain notarazi.hostingsiteforfree.com .



10) Notice the FTP Access icon. Click the icon.





11) Take note of the FTP Access details


12) Go to http://portableapps.com/apps/internet/filezilla_portable . Download FileZilla Portable Software.


13) Run FileZilla Portable. Enter Host, Username, Password details and Click Quickconnect. Wait for the program to display Status: Directory listing successful.

Freehosting.com: Host your PHP website for free


1) Setting Up

1.1) Go to URL http://www.freehosting.com
Notice the Sign Up button (green colour)



1.2) Click Sign Up.
Notice Order Now button.



1.3) Continue with registration steps.

phpcloud.com: Free PHP Cloud Hosting


1) Setting Up Account


1.1) Go to URL www.phpcloud.com
Find the START DEVELOPING! button.



1.2) Click START DEVELOPING button.
Click Get My Account button.



1.3) Login using your Zend Account. (Create one if you haven't got any)



1.4) Agree to the terms.


1.5) Welcome







Labels