Robert Citek wrote:

So if I understand you correctly, these are possible configurations:

  Web browser (FireFox) <--> Apache w/mod_mono
or
  Web browser (FireFox) <--> Apache <--> XSP

I'm not sure about this one. Why do you want Apaceh here? XSP is a web server. (Don't confuse with Apache project eXtensible Server Page (XSP) very different thing, not related tp Mono at all.)


or
  Web browser (FireFox) <--> XSP

Usual config.

Will the above configurations run under both Linux and Windows? That is, will Apache w/mod_mono or XSP run under Windows?

Sure. XSP is a Mono program. So it runs anywhere Mono does (Windows, Mac, *nix)


Can't run under Tomcat as far as I know. Or write your own (XSP is both a server and a framework/lib for a Server.)


So Tomcat is strictly Java.

As far a I know. But you could run Jython for Python and any other language that compiles to the JVM bytecode..



ASP.Net support under Mono is very much farther along than Windows.Forms (rich client.) Other than porting the SQL server stuff, most code should run adequately from an IIS moved to FLOSS server (Linux, *BSD, Mac)


When you say "SQL server stuff" do you mean a generic SQL server or MS SQL Server? I ask because I know that ASP/VBScript can connect to MySQL via ODBC. (Gonna try to make ASP/VBScript connect to MySQL via ADO tonight.)

I specifically ment MS SQL Server. Of course any ODBC stuff should port directly to Mono apps. Bielieve it or not, there are some coders who have never heard of non-MS products and their work shows it.

So what is the process for running Mono code? Take for example a simple "Hello World" program. I'd imagine one would have to write the code in Mono "text", convert it to byte-code somehow, put it in the right folder on the XSP server, and then enter the URL in a browser. Too bad http://www.wrox.com/WileyCDA/ doesn't have a book on Mono. I like their teaching style.


Std hello world example: vi HelloWorld.cs mcs HelloWorld.cs # bunch of options: linked assemblies, make a library. nono HelloWorld.exe

For XSP:
cd ~/mono
vi HelloWorld.aspx
mono /usr/lib/mono/1.0/xsp.exe  --applications /home/rwcitek/mono

FF to http://localhost:8080

Get Edd Dumbills' "Mono Notebool" Cheap good and straight to the point.



The reason I'm asking is because I working with a group that teaches high school students computing technology. Currently, it's IIS/ASP/VBScript with MySQL, but we're looking to the future and they are seeing .NET. Apparently, an MS person drops by regularly to give them pep-talks and swag, and brief them on up-and-coming technology. I'd like to broaden their vision.

If going to .Net. Mono is your OSS friend. Some big sites are using it. Don't have any URLs *check Mono home site) but Netcraft report 1% of all ASP.Net sites are using Mono.

Ed


-- Ed Howland WDT Solutions, LLC. [EMAIL PROTECTED] (314) 962-0766


_______________________________________________
CWE-LUG mailing list
http://www.cwelug.org/ [email protected]
http://lists.firepipe.net/listinfo/cwe-lug

Reply via email to