You are not logged in.
Pages: 1
I am having a good time writing a web application with mORMot and Unigui.
However, it would be even easier if I could use the mORMot resources of UI generation by code with Unigui. Especially the grid.
I think that during the carnival here in Brazil, I'll take a good look at the source code of UI generation and try to adapt to Unigui.
Another approach can be using livebindings. Has anyone had success with using mORMot + livebindings?
Offline
Why mORMot and Unigui makes sense?
Unigui is the server of aplication. mORMot is the server of data. Unigui's ServerModule.pas is the only mORMot client. I think I can use just TSQLRestClientDB and forget about my database because mORMot will take care of my data.
I writing the application has a single user desktop application and yet it will by used for many web clients. The complexity of threads and multi-user access is managed by the web client of Unigui and TSQLRestClientDB will manage the concurrent data access.
Last edited by Junior/RO (2013-02-06 16:38:36)
Offline
This makes indeed perfectly sense to use Unigui client with a mORMot server.
This was one of design goal of mORMot, via its RESTful and JSON native kernel, to be consumed via such AJAX clients.
Some kind of UI binding is on the roadmap, but I did not start this part of the work by now.
mORMot UI offers a simple but very fast grid, a notion of "actions" with a ribbon interface, and creation of per-table edition forms.
You have all RTTI at hand (see TSQLPropInfo in mORMot.pas) to generate your own UI layer using Unigui components.
AFAIK, and was told in this forum, there is no difficulty to use "official" Delphi LiveBindings with mORMot, since TSQLRecord has some standard properties, able to be directly mapped with UI components.
Offline
Someone has developed an example with LiveBindings Delphi XE3 + mORMot?
Offline
Pages: 1