PHP Or Python Or Ruby

http://www.udacity.com/ has some great python web tutorials. One is how to build a blog from scratch, taught from the guy who made Reddit Python is a very powerful language and is fairly simple to learn as well. I would recommend checking these tutorials out!
 
Neither php, nor phython nor ruby - go for NODEJS!!! Alright whats Nodejs? Nodejs is basically serverside javascript.

Featuring googles V8-engine nodejs offers one of the fastest javascript implementations on the market. So whats fast? Well translating javascript directly to machinecode catapults written code to speeds previously known only from languages such as C or C++. There are alot of benchmarks out there heres a rather interesting one i came across few months ago: nodejs and voltdb - running a voting app:
- platform - EC2 instance with 8 virtual cores (by the way distributing an app in nodejs on several cores or servers is rather easy: check their modules cluster and fugue)
- the given problem: TV Show like american idol wich want you to vote for your favorite at a crucial moment: vote now!
....
long story short - 695k Transactions per Second - crazy fast!!!

Why should you use nodejs?
- fast (sounds kinda lame...)
- non-blocking I/O (say goodbye to threading)
- lightweight
- modular
- scalable
- helpful and active community
- tons of ressources

Are there frameworks? Sure there are!
- Expressjs
- flatiron
- bricksjs
- .... (many more)

cheers

olystyle


Debugging + configuring nodeJS can be like hell, as because the OP is not that familiar with it as I believe. NodeJS is not yet so much well documented as PHP either, so I don't think it's a good idea.

But yes, I am sure NodeJS is going to pwn every serverside scripting language in near future, especially because of it's threading feature.
 
as mentioned above there are great frameworks out there - for example expressjs. nodejs along with expressjs combined with jade or mustache = pretty dynamic...

True, but in regards to standard web apps I don't think it can stand the comparison against the big php/ruby frameworks.
 
@gogol true story! debugging node can be a bitch-biting-your-sorry-ass-for trying-to-use-her :D

@jazzc i admit when comparing to the big players nodejs cannot put up much of a fight...

would be really interested to know what you kind of frameworks/programming languages
you two prefer to work with?
 
I 'm a PHP enthousiast but not in a religious way. PHP is a pirate language* and that fits my style :)

* Efficient in a "get things done" way. Blatantly steals tried and true concepts from other languages when it wants to evolve. Hates conformity and lets you do it however you like.
 
Use PHP if your going to create a website. You can create unbelievably powerful websites with PHP, HTML and SQL. You already know some PHP so it seems like the logical choice :).
 
I read through the replies on the thread and I am going to say that Pyhton is the easiest to learn and the most useful. It's easy to program bots with and all sorts of neat little features to help you out as an Internet Marketer. Good luck, hope this helps.
 
https://speakerdeck.com/felixge/the-nodejs-scalability-myth is a pretty clear explanation of why nodejs is pointless.

"I have the full solution but unfortunately it did not fit on this slide" :D:D

For those who are not familiar with math, it 's a reference to Fermat 's Last Theorem :)

This theorem was first conjectured by Pierre de Fermat in 1637, famously in the margin of a copy of Arithmetica where he claimed he had a proof that was too large to fit in the margin. No successful proof was published until 1995 despite the efforts of countless mathematicians during the 358 intervening years.
 
"I have the full solution but unfortunately it did not fit on this slide" :D:D

It's sort of a double-cleverness thing, because that phrase is as you noticed split across 2 slides.
 
I think my fav quote about Node.js is ... "It's JavaScript, on the f***ing server!?!?!", Ted Dziuba

:)
 
the slides certainly describe some (while in my opinion theres only one major: shared memory) of the weak points of nodejs. felix who is a core contributor of nodejs and the author of these slides was kind and honest enough to put them together. As stated above nodejs may not be suitable for every project while for some applications it might work like a charm...
 
https://speakerdeck.com/felixge/the-nodejs-scalability-myth is a pretty clear explanation of why nodejs is pointless.

Nice and funny presentation lolz :P
I am personally a PHP enthusiast, and can vouch for it because of it's upcoming multi threading feature in near future. Having said that, I think nodeJS will only improve hereon. Let's see what happens :)

EDIT: I think all of you have seen that 35 minute video presentation by the creator of nodeJS, who urged for more contributors. With a bigger pool of talented guys like you working in the project, can make this project grow more and overcome the challenges, just like PHP was evolved. :)
 
Last edited:
if you love google, you should go to python . I f you want to easy for developing, go to PHP many opensource, many scripts, many example :)
 
if you love google, you should go to python . I f you want to easy for developing, go to PHP many opensource, many scripts, many example :)
I don't think too many members do that here:P
 
I think its better to hire someone to complete this project :)



Where i can host these kind of sites ?
How we can achieve faster site with low hosting charges ?


Hosting is a big issue with architectures like Symphony and Yii. I DO NOT recommend Symphony atall,as i said before. For YII, you'll need to get a VPS atleast, if not a dedicated host. Make sure your server has a good amount of RAM if you want to use YII. The only problem with YII ( well, it's not a problem in my opinion, because they have alternative for that too) is the Active Records Objects that it creates. It typically adds some overhead compared to a normal PHP object of the same configuration. So, when you have lots of users logged in to your server, you need considerable amount of RAM to cope up with it. Otherwise, Yii beats other Architectures every-way..
 
Back
Top