Code wars: Php vs Ruby vs Python.

Topics not related to Ultimate Edition.


Code wars: Php vs Ruby vs Python.

Postby pam » Thu Dec 05, 2013 12:29 am

It can be said the internet 'runs' on php and thats prolly because its fairly easy to learn and was intended to be a web development framework(formerly called personal home page). Php has revolutionized the internet but nonetheless has programming syntax that can make it easy to hack the database(SQL). Php unlike javascript, does not offend the sensibilities of a programmer. Both are used for dedicated apps and are purpose bound. A wide codebase for ruby and python does not exist unlike php and javascript.

With HTML and CSS you can create beautiful websites. Using PHP you can create dynamic content like for eg: Lets say you want to change the template of this website, php allows you to do so without rewriting the webpages or duplicating them. Smart, dont you think?

In the LAMP(Linux Apache MySQL and PHP) stack, php handles the database and these days it is also referred to as Python Or Perl.

So is php bad? Never. Although i have never used it, i know people who do and what they do with it. You'd be shocked what you can do with it as a web developer. The zend framework adds further automation and arrogance in the use and deployment of php. Wordpress is made with php. Php is a server side scripting language, in other words it can be implemented as a CGI(common gateway interface) taking requests from users.
On the downside php lacks multithreaded usage which can be overcome by using pthreads.

So in a gist the internet is like an operating system where most communication(server side--content based) both internal and external is handled by Php. If routers, modems and switches are the heart of the internet, php(along with HTML and CSS) is the pulse. Nonetheless php has absolutely nothing to do with hardware.

Ruby on the other hand is upcoming(still).

Python is an everything language and very powerful and versatile. Probably you can use till the day you die.
PROGRAMMING-LANGUAGE-3.png


Sourced from: https://www.udemy.com/blog/modern-language-wars/

BTW, Blackwolf is a php pro. ;)
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 32
Operating System: Ultimate Edition 3.5 64 BIT



Re: Code wars: Php vs Ruby vs Python.

Postby TheeMahn » Thu Dec 05, 2013 5:30 am

The first website I ever wrote was in PHP, CSS & MySQL, truly a powerful combonation. Files a few kilobytes in size generating over 6000 dynamic webpages.

Python is also quite powerful, I have seen on the web a simple web browser written smartly in python that I believe was 21 lines of code.

I fiddled with ruby when restructuring code cleanup app. It seems geared for search and replace. I never did fully get it under my belt, but have a general understanding of what it is about.
Home of Ultimate Edition. Got a question? Please review the F.A.Q. Browse the How to section.

Main O/S: Builder of O/S Guess.
Mainboard: ASUS Hero VI (AM4)
CPU: AMD 1700X water cooled (Deepcool Captain Genome Cooling tower)
Ram: 16 GB GSkill Trident RGB Series Dual Channel DDR4 3200
Video: MSI RX470 8GB Gaming card.
Hard Disks: MASSIVE on the network.(10 Gigabit, 48 port, multiple servers)
Monitors: 4K Samsung 28", HannsG HH281, Various others
750 Watt modular PSU (Rosswell)
1100 Watt Amp & 4 X 600 Watt speakers

Servers in the basement.
User avatar
TheeMahn
Site Admin
 
Posts: 4199
Joined: Fri Oct 12, 2007 10:02 am
Location: U.S.A.
Age: 47
Operating System: Ultimate Edition Developer



Re: Code wars: Php vs Ruby vs Python.

Postby pam » Thu Dec 05, 2013 9:21 am

Thee, you know C .
No, You dream in C and python.
Now writing in php/css is probably a backward step for you.
just saying...
cheers
DONOTSPAMORTROLL:
http://forumubuntusoftware.info/viewtopic.php?f=9&t=11
Download Ultimate Edition and Oz Unity 3.0 from copy:-
https://www.copy.com/s/oBnDBsDOvxF8jW1EuLKM/Public
Download Ultimate Edition from sourceforge:-
http://sourceforge.net/projects/ultimat ... rce=navbar
Download Oz Unity 3.0 from sourceforge:-
http://sourceforge.net/projects/ueoz/files/UEOz/
Download Ultimate Edition torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Download Oz Unity 3.0 torrents from linuxtracker:-
http://linuxtracker.org/index.php?page= ... 0&active=1
Image Image
Visit:http://www.ultimateeditionoz.com
User avatar
pam
Site Admin
 
Posts: 1087
Joined: Wed May 25, 2011 5:56 am
Location: India
Age: 32
Operating System: Ultimate Edition 3.5 64 BIT


Return to General Discussion - Birthdays-Welcome to the Forums - Introduce yourself here!

Who is online

Users browsing this forum: No registered users and 1 guest