Adam Haile
Adam Haile

Reputation: 31329

Wasabi like web programming language

Are there any open source or commercial web programming language that function much like Fog Creek's Wasabi? As in you write your web app in this parent language and it then compiles down to php for Linux hosts and ASP.NET for Windows hosts.

Upvotes: 4

Views: 1064

Answers (6)

Eric
Eric

Reputation: 11662

Haxe is the closest I've seen, but it only compiles to PHP (and mod_neko), not to ASP.

Upvotes: 5

mP.
mP.

Reputation: 18266

Pick a real mature application server platform like Java. It runs everywhere...

Upvotes: 0

Nosredna
Nosredna

Reputation: 86196

People act like Joel went mad with Wasabi, but I think it makes perfect sense if you put all the pieces together.

  1. FogBugz was originally written in VB.
  2. Joel hates to throw out working code to start over.
  3. Joel was faced with a server market split between MS and Apache w/PHP servers.

Given the circumstances, it's a rational decision to say, "OK, then, we'll just write a VB to PHP translator."

And once you've taken that step, to say, "Well, since we've essentially have a compiler here, why not extend it with the features we want that Microsoft has never added to VB?"

Thanks to Wasabi, code that would have to be written twice (or more, given some duplicated server/JavaScript code) is written only once.

Multitarget development is pretty common. It's the reality when you can't dictate your target environment.

Upvotes: 1

Rob
Rob

Reputation: 48369

Before you bother, consider whether it's really worth it.

Supporting one platform with multiple configurations is bad enough; do you really need to support both ASP.NET and PHP? If you're writing an in-house application, then you probably want to stick to as few technologies as possible. If you're writing software to sell, then is it really a problem if your product requires a particular platform?

Upvotes: 1

MaxM
MaxM

Reputation: 148

Genexus is a commercial development tool that does that. It can generate several other languages. Its oriented toward database apps, it generates database schemas and queries from its internal language.

That said, I have worked with it, and I don't like it. It's quite buggy and its programming language is very archaic.

Upvotes: 1

dguaraglia
dguaraglia

Reputation: 6028

As far as I know, Fog Creek had to develop Wasabi because there wasn't such a tool. There are a few toolkits trying to be portable, but none that compiled to ASP or PHP that I know of (besides Wasabi, that is).

Upvotes: 0

Related Questions