Slashdot Mirror


Chili!Soft ASP Port to FreeBSD?

An unnamed reader writes "Daily DaemonNews is running a story about Chili!Soft doing a port of Chili!Soft ASP to FreeBSD. It seems they're trying to gather enough interest to make a port worth while. A phone number and link is mentioned in the article."

35 of 109 comments (clear)

  1. Re:Why people like ASP by abischof · · Score: 4
    • It's so easy to write your Granny could do it.
    However, as The Jargon File points out, ASP just seems like a language with candygrammar:
    • "[...] The usual intent of such designs is that they be as English-like as possible, on the theory that they will then be easier for unskilled people to program. This intention comes to grief on the reality that syntax isn't what makes programming hard; it's the mental effort and organization required to specify an algorithm precisely that costs. Thus the invariable result is that `candygrammar' languages are just as difficult to program in as terser ones, and far more painful for the experienced hacker."
    So, as noted there, easier syntax doesn't automagically make a language easier to use.

    Alex Bischoff
    ---
    --

    Alex Bischoff
    HTML/CSS coder for hire

  2. Re:Expensive software by gavinhall · · Score: 2

    Posted by njspencer:

    Very simple.

    Want the power and scalability of Unix Platform, and don't want to totally rewrite you current software base.

    It is a very compeling business case. Also you have to go with what your developers know. Once again you could retrain, but that costs. The one time cost is far less than training.

    Yes, if you wish to write from ground zero you would use Perl/PHP or another language. But, the purpose is porting.

  3. Re:Expensive software by clifyt · · Score: 2

    ASP is MUCH faster. I went through a few weeks conversions to take my ASP scripts to PHP as script based languages are much easier to maintain. I was shocked at the speed difference...and that was from a GUI intensive OS with EVERYTHING running to a CLI only OS with most of everything I didn't need removed.

    Doh! Just wrote bunch of stuff disparaging PHP that I removed. All I'm going to say is that ASP seems more professional and I'm not talking designing from Interdev (heh! most of the time I'm programming from BBEdit on the Mac or Notepad).

    Now if only I learned how to program those Java Serverlets without them being sooooooooo damn slow, I'd switch in a heart beat just so I didn't have to worry about platform dependance...

    BTW not sure if its listed anywhere, but there is an ASP to PHP converter tool that was very helpful for learning PHP from my old codes...

    clif

  4. Why are you bothering to post in this thread? by Zico · · Score: 2

    Your post made it abundantly clear that you don't have the slightest idea what you're talking about. What's this ASP language that you're talking about? Perlscript? Python?

    Seriously, I'm just extremely curious why you'd even want to post on this subject when you don't understand it. Boredom? Masochism? The thrill of trolling?


    Cheers,

  5. Expensive software by toofast · · Score: 3

    Last time I checked, Chili's ASP for Linux was damn expensive. With all the *free* programming languages out there, why would anyone do ASP? Why not use PHP or Perl?

    1. Re:Expensive software by gimbo · · Score: 2

      But porting a customer's website to Chili!Soft isn't just a case of copying over the VBScript: chances are their site will be utilising third-party COM components which aren't available under Linux.

      (I don't mean that COM components in general aren't available, just that the particular COM components already in use by the customer probably aren't).

      -Andy
      --

    2. Re:Expensive software by Sc00ter · · Score: 2

      From what I've heard from people that work with both ASP and PHP as well as what I've read. ASP is way faster then PHP unless you use the Zend engine to speed PHP up. Also, if you're working with MS servers then ASP is the way to go, since the integration is better. ASP has it's place, not sure if it's on a Unix/BSD machine however.
      --

    3. Re:Expensive software by UU7 · · Score: 2

      Yes, but its still less of a step. Alot of asp pages arent using third-party COM components. Though you are right. third-party COM components make life a pain for porting.

    4. Re:Expensive software by shren · · Score: 2

      You're right. Let's abandon the WINE project as well.

      --
      Maybe the state's highest function is to grind out insoluble problems. (Zelazny, Hall of Mirrors)
  6. I have a few concerns here by drfalken · · Score: 2

    First there's the argument that PHP makes ASP unnecessary. While I agree in principle (and use PHP as my primary server side scripting solution), there's no question that ASP is here to stay because it is the cornerstone of the Microsoft Internet strategy. I would, therefore, urge people to consider that ASP for non-MS platforms is analagous to StarOffice being capable of using MS Office file formats: this is a great thing to help people migrate to *BSD if they want to, or to use *BSD as a backup to their Windows environment. For that reason alone, I'm very excited about this latest development. I don't expect there'll be any PHP people switching to ASP now 'though.

    My second (and larger) concern is with Chili!Soft. Specifically I worry about the exclamation mark between the 'Chili' and the 'Soft. What's it doing there? Is it lost? Someone may want to ask Chili!Soft why they don't see other companies with similar punctuational conventions. Where are the Slash?Dots, or the Mac@Words, or the Linux&Cares? Nowhere. Why? Because it's stupid and impossible to pronounce punctuation as a conjunction between two words. Are we to understand that the Chili is vigorous and exciting, the the soft is ah, just soft? Could be Chili!Hard, or Chili!Bowl, they don't care.

    Truth be told, I don't really care. I just think it's amazing the lengths people will go to generate a distinct brand (either that or the lengths they will go to avoid admitting to a typo).
    ----------------------------

  7. Re:ASP != VBScript by Pfhreakaz0id · · Score: 2

    You know, I've wondered this myself. I went looking on Chilisoft's site and found: "VBScript and JavaScript scripting languages" quote. No mention of using Perl or another WSH language....
    ---

  8. Re:ASP != VBScript by Pfhreakaz0id · · Score: 2

    Actually, I just realized I probably should have put this in Vb syntax ASP (VBScript) ...
    ---

  9. Re:ASP != VBScript by Pfhreakaz0id · · Score: 2

    Ahh, only to be nailed by the thing that kills the greater than and less than signs... SIGH.
    ---

  10. ASP != VBScript by Pfhreakaz0id · · Score: 5

    just FYI, lots of people here are using ASP when they seem to mean VBScript. The Windows Scripting Host can use a whole lot of scripting languages. Lots of folks use Jscript or even Perl.
    ---

    1. Re:ASP != VBScript by mgkimsal2 · · Score: 2

      Correct, the two aren't equivalent. But, that's from a 'programmer's' perspective. From an employer's perspective, ASP=VBScript. I got severely chastised at an employer once for doing a few ASP pages in JScript. The company standardized on VBScript, so just cause you could do it in JScript didn't matter. I may as well have written in in TCL, as far as the mgt was concerned, because no one else there knew JScript. I think the overwhelming majority of code examples and books you'll see covering "ASP" focus on VBScript, furthering the perception, which can become reality for many.

  11. Re:No point without COM by gimbo · · Score: 2

    It may "do COM", but my point is that you'll have to roll your own. You won't be able to use any of the (many, many) currently available COM components from the win32 world - which, I assert, are what make ASP tolerable in the first place.

    -Andy
    --

  12. No point without COM by gimbo · · Score: 5

    I've used Chili!Soft ASP on Linux and whilst it works, I'll be very happy not to ever use it again. Here's why.

    The reason ASP is a winner in the win32 world is the availability of third-party COM components to do all the heavy lifting. The ASP "developer" generally just writes VBScript to hook this stuff together. More advanced developers might write their own components, but the reason it's so popular is that you don't have to.

    This isn't the case under Linux, with Chili!Soft ASP... The third-party components aren't there (no binary compatability between platforms), so all your logic has to be done in your scripting language, eg VBScript - which soon ceases to be fun. You can write your own components but it's decidedly non-trivial, much more so than in the win32 world where the tools for doing so are well developed.

    I'll stick to Python I think. And especially Zope.

    -Andy
    --

    1. Re:No point without COM by micco · · Score: 2
      I write a lot of ASP, and I rarely use COM to do my heavy lifting.

      One of the great things about ASP is that you can mix script languages. I use VBScript because it's dead-simple and quick to write. For "hard" problems, I switch to Perlscript. There's almost nothing you can't do in Perl, and I've found it fast enough in most cases. I use Perlscript ASP routines when I need to encrypt, hash, process binary files, etc.

      I do use COM components to handle zip functions, but I'll bet I could get around that if I had to. As long as the ChiliSoft engine lets you switch script languages, I'm not nearly as constrained as you seem to think.

    2. Re:No point without COM by Sir+Runcible+Spoon · · Score: 2
      This was the first question that came to mind when I saw the article posted. What about the COM stuff? Anyway I went looking for it. According to the User's Guide whitepaper section on Using Chill!Soft ASP, step 8 it does do COM, just not on Linux. I wonder if it accurately simulates the thread blocking problems you can get with MFC COM objects.

      I find it highly amusing that a "wholly-owned subsidiary of Sun Microsystems, Inc" should feel the need put out a clone of IIS. Are they trying to complete with MS on two fronts? Are they determined to kick the chair out from under Bill?

      It may be totally malicous on Sun's part, but it might give those dorks that bought into the IIS thing and are not prepared to rewrite an escape route. (But probably not a very satifactory one).

    3. Re:No point without COM by tshak · · Score: 3

      It's not entirely true that ASP is useless without COM.

      Yes, you can do if-then logic... even do-while as well! (Okay, I'll be fair). You can't do:
      HTTP Get's/Put's/Post's
      Basic TCP/IP (FTP/Telnet/POP3/SMTPetc.)
      Encryption (Hashing or otherwise, unless you want to write your own functions)
      File Uploads
      File I/O (FileSystemObject is a COM)
      DB Connectivity (ADODB)

      Plus, you can't connect to EJB's, CORBA ORB's, and it uses VBScript syntax (YUCK!). Personally, every piece of ASP code I've seen is a mess... even if it's written REALLY well, it's hard to maintain. I hate the fact that I have to connect to a COM to do anything. If I need a _simple_ language, I'll use something more intuative like Cold Fusion (Sorry, conn=Server.CreateObject("ADODB.Connection") is not as intuative as CFQUERY, nor is using a ( ' ) as a comment mark). If I need a powerful and more verbose language, I'll use JSP or PHP.

      To be fair, ASP does run faster than JSP/PHP/CF (at least on windows) and seems to be more stable.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    4. Re:No point without COM by mblase · · Score: 2
      It's not entirely true that ASP is useless without COM. COM is what makes ASP great, but ASP is mainly popular among web developers and developees because it's free on Microsoft servers.

      Chili!Soft is good because it lets you take non-COM ASP scripts from a Microsoft server and stick it on Apache -- and, if a BSD port happens, on MacOS X as well. This saves oodles of time in moving scripts to Perl or Python or another UNIX-based language of your choice, since you can take your time porting the VBScript itself.

  13. What's the big deal? by DrXym · · Score: 2
    Porting from one Unix to another (or Linux) is hardly brain surgery. Assuming they've coded the thing in a reasonably sane manner it shouldn't be that much effort to port over.

    As to the justification for doing it I would have thought the large number of BSD servers would be good enough reason.

  14. ASP? Why bother. by bildstorm · · Score: 2

    I'd love to see a really good argument for using ASP. I have yet to see one except that one can keep using Windows boxes to do development. Of course, that's not really good logic.

    If Macromedia would start to support PHP in Dreamweaver Ultradev, I'm sure lots of design houses that are looking at dynamic programming would use PHP instead.

    (Of course, I'd like to see XHTML support as well!)

    At any rate, in my job as a project manager I have never approved an ASP solution, and I don't think I ever will.

    --
    The power of accurate observation is commonly called cynicism by those who have not got it. - G.B. Shaw
    1. Re:ASP? Why bother. by Pinball+Wizard · · Score: 2
      One good reason for using ASP(and one thing that separates ASP from PHP) is that you get to use ActiveX Data Objects(ADO). ADO is a layer built on top of ODBC that simplifies programming. It will work with any ODBC aware database such as Oracle or mySQL. In my opinion, this makes for a very clean way to do database programming.

      You can execute any SQL commands or stored procedures with ADO, in addition you get a Recordset model that lets you do things like test for the beginning or end of recordsets, use the MoveNext-MovePrevious-MoveLast methods, and lets you do paging easily. You get the use of cursors, and you can choose the type of cursor depending on whether you are reading, updating, inserting, or deleting records(a read-only cursor is fastest of course).

      I have yet to see as clean of a database programming model as ADO.

      I'll be getting to try Chilisoft as soon as my new RS6000 running AIX gets here. Since I've written a lot of ASP code already, I'm interested in trying this. However, I use lots of COM components, so it may not work very well. But I can see offloading some mundane tasks to UNIX servers running Chilisoft.

      --

      No, Thursday's out. How about never - is never good for you?

  15. Why people like ASP by doctor_oktagon · · Score: 2

    It's so easy to write your Granny could do it.

    Firms can hire vaguely technical people to write ASP that could never get their head round PERL or PHP.

    Disclaimer: I'm not judging ASP, I'm pointing out why some people use it.

    1. Re:Why people like ASP by Ergo2000 · · Score: 2

      It's so easy to write your Granny could do it.

      Firms can hire vaguely technical people to write ASP that could never get their head round PERL or PHP.

      What a bunch of bullshit. Do you think you're in a mighty realm of super languages using PHP or Perl? Give me a break : They're both TRIVIAL. They're EASY. This whole whatever is mainstream must be easier than what I use nonsense is so bloody absurd I seriously question the integrity of anyone who spouts it (ignoring the fact that ASP is the basically plug in architecture and people don't actually program in "ASP", they use one of the plug-in languages which is usually either JScript or VBScript, though it could also be PHP, Perl, etc.).

      People use ASP because it does the job in a lot of environments and it does it well. I use JScript for the basic scripting needs and it does the job admirably. When I want to do something that it doesn't cover I pull out Visual C++ and spit out some COM objects (because of course I'm 31337 and you sVxx0R with your crappy interpreted languages...granny).

      Check the elitism at the door because 9 times out of 10 the clown yapping it doesn't have a clue what (s)he's talking about and is merely trying to convince others that they're special.

  16. why not use... by Frymaster · · Score: 2
  17. The point being? by AliasTheRoot · · Score: 2

    I really don't understand what the reason to port ASP to *BSD (or Linux for that matter) is. Their is a decent, cross platform scripting language in the shape of PHP and the primary benefits of using ASP are only available for Win32 platforms.

    ASP on Win32 is pretty good in that it allows you to interface with the COM API's (and i'm assuming, been a while .NET framework). This structure does allow you to develop more complex sites & puts it into competition with JSP / Servlets. Without the COM support it's just a scripting language framework, and VBScript doesn't really compare well to the other freely available scripting languages.

    1. Re:The point being? by AliasTheRoot · · Score: 2

      I didn't say it was. I said it was pointless running it on a platform that doesn't have COM.

  18. Re:ASP != VBScript but, ASP=shit, and VBScript=shi by MrBogus · · Score: 2

    Your example is a VBism. Under JScript you can do Session("aJSObject")=aJSObject. Can't say for PerlScript, but I imagine it's similar with perl hashes.

    Besides, the IIS Session support is so slow that you wouldn't want to use it for any substantial amount of information. Generally it's only wise to put a UID in there and then have a header block that uses that UID to reconstitute your state objects (generally DB-backed). After about 500 users, apparently using ADO/MS-SQL is actually faster than getting info out of the IIS session object!

    Besides, the WebLogic servlet container docs explicitly recommend against using their session object for storing anything but strings. Not to mention the fact that even though JSP is compiled, it's still slower at code execution than interpreted ASP. (But the programming functionality and more scalable platforms make up for that, in my book.)

    --

    When I hear the word 'innovation', I reach for my pistol.
  19. variety of solutions by Alien54 · · Score: 2
    Philosophiocally, I have no hassle with someone wanting to port software X to platform Z. I just do not know how practical it would be.

    Geeks devoted to linux, *BSD, etc have traditionally not be intimidated by ease of use issues, at least when it comes to their choice of tools. They may like ease of use, but they want the tools to be solid, flexible, with minimim strings attached, etc. I would say that aside from any technical reasons to prefer ASP over other solutions, the Microsoft connection is going to be troubling to a lot of folks. Too many strings attached, philosophically and otherwise. That may be a killer on its own.

    I do not know what the advantadges or disadvantadges are to ASP. The arguments of "ease of use" may be true, but I am skeptical of this on the basis of hidden costs, the gotchas that MS typically embeds as features into their products and protocols, but which look suspiciously like bugs. Anyone who has looked at their OSes can get a taste of that, and knows what that means.

    --
    "It is a greater offense to steal men's labor, than their clothes"
  20. "doing a port" ? by mirko · · Score: 2

    Chili Soft belongs to Sun.
    Sun produces SunOs/Solaris which is BSD compliant.
    So, besides recompiling ASP, what is actually making this port a difficult thing, or at least, worth performing the mentionned study?
    --

    --
    Trolling using another account since 2005.
  21. Re:No Thanx by TheAncientHacker · · Score: 2

    And Schumacher will continue to win until Max Mosley decides that letting Schumacher and Ferrari cheat isn't the best way to get higher TV revenues.

  22. ChiliASP and Others... by Anml4ixoye · · Score: 3
    We use ChiliASP here because one of our outside agencies had their site developed by an outside vendor who did the whole thing in ASP. The conversion has been an absolute nightmare. ChiliASP is great for those hardcore ASP developers who need to keep programming because they can't (or won't) switch to PHP or CF but want the stability of a non-NT platform. BUT...There are quite a few drawbacks to it. The first noted was cost. We initially looked at running it on a Solaris box but the cost was absolutely prohibitive. When then ported it to a Linux box, but now we have the whole thing running on a NT/IIS System. Why?
    • Flexibility - ChiliASP does not support everything that ASP is capable of (Mainly because some of those things *require* native IIS.
    • Stability - Stability you say? Yep! ChiliASP caused a lot of memory leaks on the Linux box. We constantly had to reboot it, and it never seemed to run quite right.
    • Cost (2) - We discovered that some native features of ASP are not available in ChiliASP without spending even more money on add-ons.
    So while I think that porting it to FreeBSD was only natural for ChiliASP as they want to support the most platforms possible, we probably won't be using it here. Currently we rely very heavily on Cold Fusion (which could be a whole topic on it's own) but someday I would love to go to PHP. ASP is great if you are on a properly configured NT platform, but if you are going to go open-source, go with a language designed for it, or at least one that is close (such as Cold Fusion).
  23. This is Good News by w2gy · · Score: 2

    I've worked in Cold Fusion, ASP, PHP, Perl and C for CGI applications. All have their place, and although I prefer PHP, I'm glad ASP is coming to BSD. I just wish it was free. I have quite a few customers who approach me with ASP scripts, and I simply have to try and convert them into PHP (not as hard as it sounds - JScript is actually quite close to PHP in a lot of respects). There is a market for this, so as far as I'm concerned, good stuff...

    At the end of the day, this is going to be touted more of a success for FreeBSD (more commercial apps) than it is for Chilli. I'll just hope that it won't have all the problems that ASP had on IIS the last time I tried it. IIS sucks, ASP rules. :-)

    --
    This line intentionally left here to annoy you.