[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

web service development progress



It isn’t pretty, and I’ll add some interface files and comments at some point, but in case anyone else is also trying to do web development in mirage I thought I’d make an early “announcement” of

https://github.com/cgreenhalgh/ost-kiosk-manager

 

So far, starting from mirage-www, I have hacked together basic session handling support (session.ml using memorystore.ml), initial login framework (login.ml), persistence over baarskeerder (persist.ml – just a stub, plus idiomatic usage in…), basic html CRUD interface for admin database operations driven by dyntype information (dbforms.ml), and multipart form upload support (mime.ml).

I intend to use _javascript_ for the main UI so I’ll add a dyntype-based RESTful interface next, I think, and tidy up the authentication a bit.

 

I’m developing/testing on Unix/sockets at the moment and this is currently hardcoded in places (in persist.ml).

For Unix you need to create (touch) a file called “2049” (used by the blkdev) before running it.

Only built-in account (for access to db forms) is currently “admin”/”password” :-)

P.s. most browsers don’t set/send cookies for domain “localhost” (because it has no dots), but they do for “127.0.0.1”, so use the latter to be able to login.

 

Cheers

Chris

 


This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.