Hi Sebastien, I would recommend starting off with one of the generator projects. Samplestack is meant mostly as a tutorial aid, and less as a template, so I can imagine that it is a bit overwhelming. You might also need to strip more than you would like to add for a simple search app.
A better starting point might be https://github.com/marklogic/slush-marklogic-node. It uses a JavaScript stack with a small NodeJS middle-tier. It also comes with Roxy, a deployment tool for MarkLogic, that can also help with uploading files. It is meant as a bare starting point, but gives a completely working search UI out of the box. Install NodeJS and NPM. After that you can run these steps to install it: * sudo npm install -g gulp * sudo npm install -g slush * sudo npm install -g git://github.com/marklogic/slush-marklogic-node.git You will then have it generally available, and can run the following to create a new project template: * slush marklogic-node <yourprojectname> Cheers, Geert From: sebastien vige <[email protected]<mailto:[email protected]>> Reply-To: sebastien vige <[email protected]<mailto:[email protected]>>, MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Monday, June 1, 2015 at 6:39 PM To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] My very first search webapp with marklogic - Team, I am complete newbie on MarkLogic technology and I would like to accelerate my ramp-up as quickly as I can. My objective is to build a web demo to store guitars, Rock Bands - concerts events and guitar shops / sponsors. The objective of the app would be to do a search and to get a list of events/artists/guitar models and location to come back. Here is where I am : 1/ install ML ==> ok up and running 2/ create documents and be able to search on them ==> ok with query console 3/ expose my db as a rest service ==> working 4/ app server that execute a hello worlld js - ok Here is where I am stuck ==> building a simple webapp that would expose a search box leveraging the ML REST interface - should I continue with the javascript / REST Service integration (any "dummies like" collateral/tips I could reuse to progress quickly ? ) What is the most simple rooute to integrate the ML RESt Api and build a web app that looks good ? - tried ML sample-stack for java ==> deployed and working in eclipse but a bit overwhelming to get my one page running in less than a day. Thanks for your help Seb
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
