HI.

No, node.js is not required for the middle tier.  We use java, .net.
node.js.



Maybe let others chime-in about the 'best option' - however, For your other
idea - It is my absolute favourite.  2-tier app with an angular-based web
application being served via MarkLogic's awesome HTTP server (we cut out
the middle man).  In ML7, we've always used a framework and created API
endpoints rather than the REST API so that the http server and REST API are
on the same port on the same server  (so that we get no cross-site
scripting issues in client JS).  However, in ML8, the HTTP rewriter
squashes that problem anyway.




Kind Regards,
David Ennis


David Ennis
*Content Engineer*

[image: HintTech]  <http://www.hinttech.com/>
Mastering the value of content
creative | technology | content

Delftechpark 37i
2628 XJ Delft
The Netherlands
T: +31 88 268 25 00
M: +31 63 091 72 80

[image: http://www.hinttech.com] <http://www.hinttech.com>
<https://twitter.com/HintTech>  <http://www.facebook.com/HintTech>
<http://www.linkedin.com/company/HintTech>

On 30 April 2015 at 08:51, Yinyan guy <[email protected]> wrote:

> Hi All,
> I have  basic question on deployment of a simple application. I am
> planning to write the application using angularJS and wanted to know what
> is the best option for the deployment of this application. I have following
> questions
>
> 1. is it mandatory to use node.js for the mid tier?
> 2. Can I deploy the Angular.JS application which would use REST APIs using
> the Marklogic HTTP server?
> 3. is a separate web/app server the best option?
>
> Thank You.
> regards,
> Puneet
>
>
> _______________________________________________
> General mailing list
> [email protected]
> Manage your subscription at:
> http://developer.marklogic.com/mailman/listinfo/general
>
>
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to