Re: Web services 101

Jan Wielemaker <[email protected]>
Newsgroups gmane.comp.ai.prolog.swi
Message-ID <[email protected]>
Hi Alan, Anne,

On 02/08/2014 11:35 PM, Anne Ogborn wrote:
> Hope you won't think it immodest, but I'd suggest my web app tutorial.
> 
> http://www.pathwayslms.com/swipltuts/html/index.html

Good reading stuff.  As we've seen many people struggling how to get
started and what is around, I've compiled a FAQ entry.  It became more
like a whitepaper, so at some point we may decide to add a whitepaper
entry to the website (what do you think, Anne?).  Note that this new article
does by no means try to replace the tutorial.  It tries to position
SWI-Prolog webservices against other techniques, point at the various
functionalities provided by the various libraries, explain options and
features as well as strengths and weaknesses.

The page is at:  http://www.swi-prolog.org/FAQ/PrologLAMP.html

It is a wiki page, so feel free to extend it or comment on it.  You can
ask for wiki authoring rights.  See http://www.swi-prolog.org/wiki/
Of course, there is also this list for feedback.

	Cheers --- Jan

> 
> 
> It directly covers everything but 'logs on', and this is handled by starting a session
> and marking the user logged on in the session data after they supply credentials.
> There's support for OpenID but I'm no expert on using that.
> 
> For 99% of everything you can work locally. I'm writing an HTML5 mobile game right now 
> using this framework, and have only deployed it once, and that was to get lots of people to
> check something with lots of different mobile devices.
> 
> You do need to have clean URI's to work locally. By 'clean' I mean relative uri's, preferably generated from
> location_by_id or some such to deabstract them. But this is good practice anyway. It's covered in the 
> tutorial.
> 
> The tutorial uses of a bunch of one page servers to demonstrate various concepts. All can be
> run locally. (I believe there's an exercise in the latter part that is, essentially 'move to a real server',
> obviously that one can't be).
> 
> Your ordinary lamp server will need SWI-Prolog installed. Many applications don't use a relational
> database. If you choose to use one you'll need it installed, obviously, and you'll need ODBC connection.
> 
> If you need access to a server that fits those criteria, let me know offline.
> -------------- next part --------------
> HTML attachment scrubbed and removed
> _______________________________________________
> SWI-Prolog mailing list
> [email protected]
> https://lists.iai.uni-bonn.de/mailman/listinfo.cgi/swi-prolog
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.