On Thu, Dec 23, 2010 at 11:59, slah <[email protected]> wrote:

>
> Hello,
>
> I'd like to build my backend server using Delphi (due to options I'll have
> regarding PDF generation, etc) and I wonder what works better with qooxdoo,
> a JSON-RPC server similar to the PHP one provided or a REST backend?
>

That is somewhat of a religious issue. Some really like JSON-RPC, others
enjoy REST backends. You've already received a couple of opinions. I'm
fluent with JSON-RPC but not with REST, but I thought that REST was only GET
requests. If that's the case, it can limit the amount of data you can send
to the server, which may or may not be an issue for you.


> another question is: my backend server will run on port 81 on the same host
> as the web server which listens on port 80. My users are behind a firewall,
> do they need access to port 81 to use my application or not?
>

If you use a different port number for the backend than where your page
loaded from, your requests to the backend will be considered "cross-domain"
and you will encounter the same-origin policy issues. In particular, you
will not be able to use XmlHTTPRequest, the standard transport for most
background requests. The biggest implication of that is security from your
backend point of view. Does your backend need to know who (what web page) is
making requests of it, or is it basically open to the world? If the former,
that's much more easily done when you have the same origin for the web page
and the backend, so you'll want to somehow arrange for the same port number
to be used for both.

Cheers,

Derrell
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to