Comments on: Building Sample Apps in Ruby, NodeJS and PHPhttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/
Better Than YesterdayFri, 04 Jul 2014 08:47:00 +0000hourly1http://wordpress.org/?v=3.4.2By: cashiohttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3637
cashioWed, 05 Feb 2014 01:03:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3637hmm - no links?
Its at github paragi/washmm – no links?
Its at github paragi/was
]]>By: cashiohttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3636
cashioWed, 05 Feb 2014 01:02:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3636Look at this node server serving PHP and websockets directlyLook at this node server serving PHP and websockets directly
]]>By: Davyhttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3245
DavyFri, 24 May 2013 06:39:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3245A bit opinionated. If you pick a platform based on how long it takes you to get a new stub project up and running on your local machine, it's not a good reason, because the setup is a one time task.
If you have many small projects with different setups, you can consider using framework agnostic deploy/stub/skeleton software like opscodes chef, or brunch for a lighter version to manage your basic setup. You only have to do it once, and you will have your framework (rails, php, sinatra, python, node, whatever) the way you like it.
The choice of language is a question of language features, maturity and support. In your case it sounds more like its a question of what you have on your mind the moment you turn on the computer...
Your arguments that it takes time to get a sinatra setup up and running is utterly nonsense. What you really mean is that it takes a while to set it up the way *you* like it to run (with haml, etc.). Does php support haml in the base installation? No.
If you want a fast setup webserver, most frameworks today have a commandline one-liner: rails, python, php. I prefer 37signals pow myself, because then you don't have to use the one-liner even.
Happy coding,
DavyA bit opinionated. If you pick a platform based on how long it takes you to get a new stub project up and running on your local machine, it’s not a good reason, because the setup is a one time task.

If you have many small projects with different setups, you can consider using framework agnostic deploy/stub/skeleton software like opscodes chef, or brunch for a lighter version to manage your basic setup. You only have to do it once, and you will have your framework (rails, php, sinatra, python, node, whatever) the way you like it.

The choice of language is a question of language features, maturity and support. In your case it sounds more like its a question of what you have on your mind the moment you turn on the computer…

Your arguments that it takes time to get a sinatra setup up and running is utterly nonsense. What you really mean is that it takes a while to set it up the way *you* like it to run (with haml, etc.). Does php support haml in the base installation? No.

If you want a fast setup webserver, most frameworks today have a commandline one-liner: rails, python, php. I prefer 37signals pow myself, because then you don’t have to use the one-liner even.

Happy coding,
Davy

]]>By: Dmitri Zaitsevhttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3240
Dmitri ZaitsevMon, 20 May 2013 17:13:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3240Thank you, that explains it!Thank you, that explains it!
]]>By: Derick Baileyhttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3239
Derick BaileyMon, 20 May 2013 11:45:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3239the -S option and built in web server were introduced with PHP 5.4. You'll need to install that version (or higher, if one is released since) to get this to workthe -S option and built in web server were introduced with PHP 5.4. You’ll need to install that version (or higher, if one is released since) to get this to work
]]>By: Dmitri Zaitsevhttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3238
Dmitri ZaitsevMon, 20 May 2013 03:36:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3238Somehow php -S localhost:5000 doesn't seem to work for me.
The options -S does not seem to exist and I am sent to the help page of php.
Am I missing something?
I have Mac OS 10.8.3 and standard php:
PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 28 2012 18:19:13)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend TechnologiesSomehow php -S localhost:5000 doesn’t seem to work for me.
The options -S does not seem to exist and I am sent to the help page of php.
Am I missing something?

I have Mac OS 10.8.3 and standard php:

PHP 5.3.15 with Suhosin-Patch (cli) (built: Aug 28 2012 18:19:13)

Copyright (c) 1997-2012 The PHP Group

Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies

]]>By: Nico Burnshttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3171
Nico BurnsTue, 02 Apr 2013 00:06:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3171I highly recommend the 'http-server' node module
npm install -g http-server
Then run with
http-server
It will only serve static content, but other than that it's great. My favourite feature is through it auto-increments the port, so it's really really easy to start multiple servers at once.I highly recommend the ‘http-server’ node module

npm install -g http-server

Then run with

http-server

It will only serve static content, but other than that it’s great. My favourite feature is through it auto-increments the port, so it’s really really easy to start multiple servers at once.

]]>By: Lucas Mendelowskihttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3145
Lucas MendelowskiFri, 22 Mar 2013 16:30:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3145Or you can just type: python -m SimpleHTTPServer :)Or you can just type: python -m SimpleHTTPServer :)
]]>By: Rakesh Mehtahttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3113
Rakesh MehtaFri, 15 Mar 2013 07:50:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3113Is there any language int this world that does not have any glitch or vulnerability issue? I don't believe so. Some languages has fewer issues that other. For someone PHP seems to be promising one, for other it's a crap. These are all personal tastes. The good thing with PHP is that it's light weight and not that hard to configure (even manually) and you get lots of frameworks and open source projects to start working on. The documentation on php.net is another +, very well indexed in google and thus quickly searchable. I personally believe that to be a good developer, one should have strong analytical and problem solving skill. Good understand of project flow and end users requirement. Without these understanding none of the languages is useful to you. Basically you should know, what you are going to do and then decide the most beneficial (commercially and technically) way to do that. I never believe that for a good programmer programming language is never a barrier. And yes, you must consider the new releases of PHP <a href="http://www.am-horizon.com/blog/2012/04/whats-new-in-php-5-4/" rel="nofollow">www.am-horizon.com/blog/2012/04/whats-new-in-php-5-4</a>Is there any language int this world that does not have any glitch or vulnerability issue? I don’t believe so. Some languages has fewer issues that other. For someone PHP seems to be promising one, for other it’s a crap. These are all personal tastes. The good thing with PHP is that it’s light weight and not that hard to configure (even manually) and you get lots of frameworks and open source projects to start working on. The documentation on php.net is another +, very well indexed in google and thus quickly searchable. I personally believe that to be a good developer, one should have strong analytical and problem solving skill. Good understand of project flow and end users requirement. Without these understanding none of the languages is useful to you. Basically you should know, what you are going to do and then decide the most beneficial (commercially and technically) way to do that. I never believe that for a good programmer programming language is never a barrier. And yes, you must consider the new releases of PHP http://www.am-horizon.com/blog/2012/04/whats-new-in-php-5-4
]]>By: crojashttps://lostechies.com/derickbailey/2013/02/12/building-sample-apps-in-ruby-nodejs-and-php/#comment-3083
crojasTue, 26 Feb 2013 17:30:00 +0000http://lostechies.com/derickbailey/?p=1053#comment-3083I found an interesting site to build app in PHP, Ruby, Nodejs and other
check this out: http://weflavors.com
You can even choose the framework and ui frameworkI found an interesting site to build app in PHP, Ruby, Nodejs and other
check this out: http://weflavors.com