Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Kireeti K
Kireeti K
9,675 Points

PHP vs Ruby vs Python for B2B or Software as a service product.

Hello, I want to create a School Management Software. So based on the below metrics which language you suggest me to learn PHP or Ruby or Python.

1) Security(from Hacks) 2) Quick development and easy maintenance 3) Load time. 4) Any other metrics you can add here.

Also keeping in mid that if I fail to sell the product, I want to make career out of the same language. I am 23 and I already ran a startup which failed eventually. Now to stable my career I want to work for some company for few years 2yrs is what I am planning and then come out and start on my own(SASS company as explained above). I am from INDIA and there are not many companies or startups using python, I see like 30-50 Jobs in a given city for freshers. Ruby is used more than python. PHP is everywhere here. I have read many blogs, Done salary comparisions, Studied lot of company tech stacks but not sure what to do because each language has its downsides. PHP guys are paid less, Ruby and Python have less openings. Sorry if it took lot of time to read. Please suggest me a better solution based on my situation.

Thanks in advance.

1 Answer

Hello Kireeti K,

PHP, Python and Ruby all these are server-side languages as you might know. But if you are making web application as you said "school management system" than PHP is best choice. As PHP provides number of inbuild functions as compare to Ruby and Python. PHP is easy to setup with Apache and other popular web servers like Nginx. Thus, It makes web development and management task easy and less time consuming.

On other hand python is multiple purpose and multi-platform language which can be used to create desktop, web, cli and nowdays Mobile application. Python provides number of modules, packages for cli and comes with "pip" which is cli package management system.

Coincidentally I am also from India and I know how things are changing here since last few years. When it comes to jobs I think PHP is going to be history very soon. As there are large number of PHP developers in India thanks to large easily available PHP tutorials. Nowadays companies are moving to Big Data, Machine learning and other complicated task like IoT and cli applications. And PHP is not very helpful when it comes to these type of tasks but python.

I know there is lack of python jobs in india right now but not for long. I thinks learning and working with both Python and PHP is good idea. Or NodeJs and Python might be other option.

Thank you, Shiv sandhu

Kireeti K
Kireeti K
9,675 Points

Hello Shiv Sandhu, thanks for your valuable comments. I have decided to pursue Python and started working on it a few months ago and now I am working in a company primarily as a Python/Django developer. I agree that Python has very few jobs but picking up fast and can also help when it comes to complex stuff like ML and even Big Data. Enjoying coding in Python.

Kudos -- ::)