🔒 Locked
[web] alternative to php
Advertisement
Original Post
The situation is, I have to use PHP at work. But it sucks, really REALLY badly. Anyway, I would like to find a different language I can use. Criteria: Runs with IIS, windows Free/opensource Something with functional elements would be nice Templating engine a plus Perl sounds better, although with similar syntax which I hate. I've thought of python or scheme, but hopefully the experts here can suggest some which I haven't thought of at all. I miss static typing, but somehow I don't think I'll find anything with that. Thanks for the help Rohan
Quote:Or even PHP. [grin] The advantage there, of course, is you can mix and match the existing PHP code with any of the new code you write... From a quick search there are also Python and Ruby compilers targetting the CLR.
Original post by ToohrVyk
ASP.NET 2.0 fits pretty well, though it's obviously not open source. You get to use any .NET-compatible language, from C# to F#.
If you insist on it being open source, head over to Mono, though their implementation runs on Apache.
Ok, I wouldn't go into it normally, but might as well just in case I'm missing something.
- Inconsisitent function naming - My biggest gripe, it's horrible.
- too many built-in functions.
- why the hell would you want to put $ in front of everything
- Quite a few times typos(as in, ones you would think would cause an error) seem to go unnoticed
- It's just so obvious that it was thrown together piece by piece, with no overall design.
- Inconsisitent function naming - My biggest gripe, it's horrible.
- too many built-in functions.
- why the hell would you want to put $ in front of everything
- Quite a few times typos(as in, ones you would think would cause an error) seem to go unnoticed
- It's just so obvious that it was thrown together piece by piece, with no overall design.
Quote:
Original post by benryves
error_reporting(E_ALL); might help you pick up some errors.
Will it stop for($i=0; i < count(); $i++) ?
Quote:
Original post by DaBookshahCriteria:
Runs with IIS, windows
Free/opensource
Something with functional elements would be nice
Templating engine a plus
I know most people will think I'm crazy, but, you could use C++
It meets all of your criteria except for the templating engine, plus its got static data types, meta-programming, and is faster than any of the other languages mentioned here.
Quote:
Original post by DaBookshah Quote:
Original post by benryves
error_reporting(E_ALL); might help you pick up some errors.
Will it stop for($i=0; i < count(); $i++) ?
It will at least spit out a warning :P
But yes, PHP is a very messy and badly designed (or not-designed-at-all) language. Believe it or not I use it at work to write command-line tools...
I use Java (Tomcat on Apache though) and ASP.Net on my windows machine for web development and enjoy them both. I find it hard to go back to PHP now.
I chose Tomcat for my personal sites as it's opensource and in conjunction with PGSQL I can be sure of a cheap and easily portable infrastructure.
I chose Tomcat for my personal sites as it's opensource and in conjunction with PGSQL I can be sure of a cheap and easily portable infrastructure.
What would one need to start coding under ASP.Net? I have access to Visual Studio 7.
I work a lot in PHP and I love it, it does what I want, but I'll agree with pretty much everything that was said about it here already, it's a language that has suffered an ill-conceived evolution process.
I also would like to say that I don't side with people that seem to have the argument that a language that is free is automatically good for a certain project, because you take out all the licensing fees and whatnots out of the equation, which is false, because you're not choosing the language for the project because of its merits, and you may pay that in a greatly extended development time later on.
I would like to see ASP in motion, and try to ascertain in what aspects it might be the correct tool for certain projects.
I work a lot in PHP and I love it, it does what I want, but I'll agree with pretty much everything that was said about it here already, it's a language that has suffered an ill-conceived evolution process.
I also would like to say that I don't side with people that seem to have the argument that a language that is free is automatically good for a certain project, because you take out all the licensing fees and whatnots out of the equation, which is false, because you're not choosing the language for the project because of its merits, and you may pay that in a greatly extended development time later on.
I would like to see ASP in motion, and try to ascertain in what aspects it might be the correct tool for certain projects.
Someone just asked that question here too. See this topic. Looks like you need IIS on XP or Vista, Apache with mod_mono or XSP (a light-weight ASP.net webserver).
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement