EvilZone
Programming and Scripting => Web Oriented Coding => : m0l0ko June 12, 2014, 11:31:13 AM
-
I started getting into making bash scripts lately, have been making useful tools with them, but since I'm already a PHP programmer and web developer, I like integrating bash scripting with that. I know thats not viable on commercial servers though. Java looks good but this whole JDK toolkit is big and bulky, I don't like installing all that software on my system. Linux comes with python and perl pre-installed so I'd prefer to go that route. Can I integrate them into my web apps though? For example, can I get PHP scripts to run perl and python scripts? I'm well used to MySQL but I recently learned how to use SQLite and I like the way you can integrate it right into standalone applications. Python syntax is a bit alien to me, although if I can adjust to bash scripting then it shouldnt be much of an issue learning python syntax. I know javascript and XML, but I'm looking for something to add an extra dimension to my skills. I know java would do that, but what about perl or python? Or any other languages you can recommend.
-
What do you want? A client or a server side scripting language?
Because Java would be client side, and Python (using DJango) would be server side...
Don't know about perl tho...
And did you google around a bit? Usually you'll find tons of links about integrating scripting languages in other programming languages...
-
Java is not necessarily client-side, lots of websites uses Java which is running from the server and not the client.
I wouldn't really integrate PHP with over back-end programming languages for the same website. You can use Python on the server to manage and control the server and such, but I wouldn't recommend to use more than one language for your website. So either use Python for your back-end (Django, Flask etc.) or PHP or maybe even Ruby (mainly Rails).
-
Ruby ?
-
Ruby ?
On Rails.
It is quite a good server side language. But you already know that. Alot has been done recently to garner it vulnerabilities. I would recommend it to another web enthusiast.
-
You can most certainly use Perl for server side languages. Many popular web apps have Perl as a backend. I just can't think of any right now and I'm too lazy to look it up :P
Also, some of you may know that I code in Ruby, and it's rather popular for web apps as well. However, I'd be reluctant to recommend it because, well, everyone in the world hates Ruby and the simple uttering of it's name causes people to involuntarily vomit their opinion that Python is better then Ruby and they don't prefer Ruby and they think it's ugly, despite the fact that I in no way cared or asked them their opinion, and to be quite honest I'm rather fucking sick to death of hearing about it. So...
Try Perl ;D