Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 4 of 4 total
Thread Pascal On Linux
Wed, Oct 7 2015 5:06 PMPermanent Link

squiffy

Telemix Ltd.

Avatar

This is a bit of a pre-emptive ask (translation -  I've not used Google yet), but does anyone use Pascal to create app servers that deploy to Linux?

I'd like to try and keep using Pascal full stack (to coin a young person's buzz word), ideally developing both on Windows, but I have to deploy the server to Linux.

I'm currently using B4J (which I love far more than PHP). It uses a BASIC-like language and creates a JAR file which I can deploy on any OS. However constantly switching languages requires a bit of extra head work that I'd rather not do. I'm getting old, you know.

Off to Google it all now, but if anyone has any personal experience they'd like to share I'd be most grateful.
Wed, Oct 7 2015 8:18 PMPermanent Link

Trinione

I am not there yet, but shall be looking into this going forward also.

An interesting point is that a few basic (pun unintended) languages continue to withstand the test of time - BASIC, Pascal, Cx, and Java.

I would only focus on the first two though and B4J is the only way I would deal with Java.
Thu, Oct 8 2015 3:59 AMPermanent Link

squiffy

Telemix Ltd.

Avatar

Latest CodeTyphon (based on Lazarus) looks interesting.
Looks like several options in there, using Brook or fplWeb and possibly others. You can New a brook application and it runs as a server without any code (ok it doesn't do anything other than complain it has no routes and return a 500 to the browser, but the "hard" bit seems done out of the box). Looks like it's cross platform (win/Linux/Mac) as well. I'll play in my spare time (ha!).

Does anyone have personal experience of these?
Thu, Oct 8 2015 9:52 AMPermanent Link

squiffy

Telemix Ltd.

Avatar

CodeTyphon's bundled up distribution of Lazarus (http://www.pilotlogic.com/sitejoom/) with its gazillion included libraries & widgets does look quite interesting. Using that with the Brook framework and some help from the demos here (https://github.com/silvioprog/brookframework) I was able to get a server running with routes & parameters/variables.

Nothing hardcore (not tested concurrency, DB access, loading, etc. ), but a promising start.

Of course, now I'll start to see differences in the language between EWB & CT which may be just as annoying as switching languages Smile Time will tell ...
Image