[Cubicweb] Pyro and ZMQ deprecated?
florent.cayre at logilab.fr
Wed Mar 5 18:00:10 CET 2014
Le 05/03/2014 10:05, Dimitri Papadopoulos Orfanos a écrit :
> My understanding is that rqlcontroller is preliminary work not yet ready
> for production - as far as I can see there hasn't been any release of
> this cube:
> I understand Nicolas was pointing you to this cube not as code you
> should be using, but as a preview of future ways to access the CubicWeb
> database. That would explain the current lack of documentation.
> For now, here are the options I know of to access a CubicWeb database
> (please correct me if I have forgotten any):
> * HTTP/HTTPS: can be used remotely, simple for retrieving data or
> without authentication, a bit more complex for pushing data or with
> authentication (for example max. length of an URL or session management)
You can of course insert data with the rqlcontroller, by complementing
it with the https://www.cubicweb.org/project/cubicweb-signedrequest cube
(that is already used in production).
With those two components, you can issue http/ https requests that
retrieve or insert data as a given cubicweb user, using a public id/
secret token pair used to sign and authenticate the author of the request.
For your information, we will probably release a first revision of the
rqlcontroller cube in a few days/ weeks.
> * CubicWeb shell: cannot be used remotely (unless using remote sessions
> at the system level like SSH), admin mode (full access to the resources
> of the user at host running the server)
> * ZMQ: can be used remotely, security issues, admin mode (full access to
> the resources of the user at host running the server), to be deprecated
> * Pyro: same as ZMQ
> * write you own front-end, for example a Web service
> Databases such as MySQL or PostgreSQL have their own protocol to
> remotely and securely run SQL queries:
> CubicWeb seems to be lacking such a maintainable and standard mechanism
> to remotely run RQL queries, especially for data insertion (except HTTPS
> which again is complex to use and seems to have some issues).
> I cannot understand from the 'rqlcontroller' page whether it will
> provide such a maintainable mechanism.
> Le 04/03/2014 23:42, Yann Cointepas a écrit :
>> So, it means that I have to go through the source code to find out what to
>> So many cubes and so few documentation for them. I have the feeling that
>> Cubicweb cubes are like an exhibition of jewelry where each jewel is
>> presented in a closed box.
>> But thank you for letting visitors open the boxes and wear the jewels.
LOGILAB S.A. 104, bd Auguste Blanqui 75013 PARIS
tél +33 (0)1.45.32.03.12
tél +33 (0)220.127.116.11.26
Formations Python, Debian, XP http://www.logilab.fr/formations
Développement logiciel sur mesure http://www.logilab.fr/services
Python et calcul scientifique http://www.logilab.fr/science
Gestion des connaissances http://www.logilab.fr/gestion-connaissances
CubicWeb, semantic web framework http://www.cubicweb.org
More information about the Cubicweb