Valhalla Legends Forums Archive | Web Development | If you could invent your own language.....

AuthorMessageTime
St0rm.iD
Since I've gone through a horrible experience using PHP on a real-world project, and I refuse to use IIS because of it's security, Java is too expensive and Perl isn't my cup of tea, I've decided to create a new Web scripting language. I'm basing it off of twisted.web and the language I'm going to use is Python.

Now my question is...what do you hate about current languages? What do you think could be fixed? For example, I'm adding custom WebObjects ("server-controls" in ASP) which can be manipulated like a standard Python object, and they can be bound to data. I'm thinking about implementing a way to serialize/deserialize an object to SQL. I'd like to know what bugs you most about your web language, and what you would like to see in a new one.

Thank you for your time.

EDIT: forgot to say that I've already started the project, and if anyone would like some example code or would like to contribute, just ask. It can already do some pretty cool stuff! :)
August 11, 2003, 3:44 AM
drake
I don't see whats wrong with PHP besides its lack of OOP support which is changed in PHP 5. PHP is powerful enough to do anything needed in web development yet its such an easy programming language compared to C++, Java, etc. Ya its harder than Javascript and VBScript but those aren't really programming languages in my book.
August 11, 2003, 8:00 AM
Adron
Did you know that Python already can be used as a scripting language in ASP? What web server are you developing this for? You're *hoping* to make it more secure than IIS?

Example

Documentation
August 11, 2003, 8:56 AM
St0rm.iD
[quote author=Adron link=board=22;threadid=2279;start=0#msg17777 date=1060592186]
Did you know that Python already can be used as a scripting language in ASP? What web server are you developing this for? You're *hoping* to make it more secure than IIS?

Example

Documentation
[/quote]

Yes, I've known about that for some time, however it doesn't play nice with indenting...actually, my bot is scripted using ActiveScript Python now :)
August 11, 2003, 8:07 PM
drake
What server are you going to use instead of IIS? We know the other huge alternative but smaller less known mediums exist besides those 2.
August 11, 2003, 9:31 PM
St0rm.iD
Twisted Web. www.twistedmatrix.com
August 12, 2003, 12:28 AM
drake
Cool, I see you have down your research. Good Luck and keep us updated cause it sounds like some work. Remember quiters aren't remembered so stay on track and don't deter, it happens all too often in the programming world.
August 12, 2003, 8:14 AM
St0rm.iD
I had a whole thing typed out about what's wrong with PHP, but it comes down to it's bad modularity and documentation.
August 12, 2003, 6:18 PM
Arta
PHP badly documented?? Get a grip...

Specific examples please before I give you enough positive karma to redeem Hitler :P
August 13, 2003, 7:57 AM
St0rm.iD
Find me a url to the official language spec and I'll say it's well documented.
August 13, 2003, 2:45 PM
Arta
http://www.php.net/manual/en/
August 15, 2003, 6:48 AM
St0rm.iD
Don't see the language spec.

Also, it's really stupid how you can't do this:

[code]
$mystr = 'here is a string';
$firstword = split($mystr,' ')[0]; // <--- fails, invalid syntax
[/code]
August 15, 2003, 11:33 PM
WinSocks
with XML you could pretty much design your own scripting language..... close to what the topic name is all about ;)
August 28, 2003, 9:21 PM

Search