Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ MT-multithreading and servers » Some questions about Skylark
Some questions about Skylark [message #49739] Sun, 15 April 2018 12:13 Go to next message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Hi all

A colleague has asked me some questions about Skylark. He likes its SQL interface which is cleaner and more lean than 4GL like languages.

- Skylark sessions and database connections.
Is there an example of a Skylark web app that connects to MYSQL and does some CRUD on a single and can be used in a multi user environment?

- What are the deployment options of Skylark in a production environment?
Does it need to run in a web application server like Apache http Server or can the default Skylark http server be used on production as well?

Many thanks for you time.


Best regards
Iñaki
Re: Some questions about Skylark [message #49752 is a reply to message #49739] Mon, 23 April 2018 11:05 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
There is no Skylark/MySQL example - the reason is that MySQL requires installation, so for the tutorial, we are using Sqlite3, which works out of box.

Anyway, if you take

https://www.ultimatepp.org/srcdoc$Skylark$Tutorial$en-us.htm l#9

all you need to make it work with mysql is to replace Sqlite3Session with MySQLSession and change the connection code.

W.r.t. deployment, I think yes it could work as server out of box. I would still probably prefer adding apache layer, just for 'isolation'.
Re: Some questions about Skylark [message #49762 is a reply to message #49752] Tue, 24 April 2018 20:56 Go to previous message
koldo is currently offline  koldo
Messages: 3355
Registered: August 2008
Senior Veteran
Thank you Mirek.

Best regards
Iñaki
Previous Topic: ValueGet in Core/Rpc/Rpc.h
Next Topic: [SOLVED]HttpRequest will hang at ReadingBody() until timeout When KeepAlive is set
Goto Forum:
  


Current Time: Thu Mar 28 19:20:07 CET 2024

Total time taken to generate the page: 0.01030 seconds