Can vibe d leverage existing web technologies?

Brad Anderson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Sep 13 21:22:02 PDT 2016


On Tuesday, 13 September 2016 at 23:45:18 UTC, Intersteller wrote:
> vibe.d does not have much lateral support as the most commons 
> web technologies do.  Can vibe.d leverage pre-existing techs 
> such as php, ruby/rails, etc? Starting from scratch and having 
> to build a robust and secure framework is really not the way to 
> go.

Sure. Just use res.write(executeShell(["php", "-f", 
"somephpscript.php"]).output); or something like that.

But seriously, you probably don't want to do that. It's like 
asking if ruby on rails can leverage php. Sure, they can 
communicate over HTTP or whatever else they support but trying to 
execute PHP from within Rails or vice versa just isn't really all 
that beneficial.


More information about the Digitalmars-d-learn mailing list