Hi Vipin, It's nott really related to the ttemplates. You can look into the sample app about how to query ES instance via the REST api. As soon as you have API result, you can then use it as any variable and just insert it into the template as you like.
In our sample app we don't have server-side templating, instead we do expose our own API to the outside world, and consume it with the Ext.js application. Hope that helps! Cheers, Alex. On 3 Nov 2014 22:41, "vipin singh" <[email protected]> wrote: > Hi I am new on elastic search. I ma developing an App with MEANJS(Mongodb, > Express,Angular,Node). But not getting the idea how to display the elastic > search content in template. any suggestion will be very helpful for me. > > On Monday, 28 October 2013 00:33:27 UTC+5:30, Alexander Cherednichenko > wrote: >> >> Hello! >> >> Me and team at my company (logicify, software consulting) have started >> node development around a year ago. We had then created a really simple app >> showcasing the tech stack, and now, after that year, we would like to share >> it with the community. >> >> This is a really simple but fully-functional application featuring data >> storage (MongoDB), search (Elasticsearch), cloud deployment (Heroku), >> serverside JSON API (node) and client-side UI (very basic extjs 4). Totally >> a work in progress rather than finished product. >> >> I think it may be useful: >> >> 1. For learning - just get a grasp of the code in a bite-sized chunk >> (s). >> 2. Sample for integration of technologies - it has quite full a stack >> though very small domain (books). >> 3. Seed, or archetype app - we have been already seeding it twice as >> a skeleton for real-life application >> >> So, the links: >> >> 1. Github, code https://github.com/Logicify/nodejs-sample-task >> 2. my blog, motivation (why we needed that and how we use it?) >> http://lexaux.blogspot.com/2013/10/nodejs-elasticsearch-mognodb-extjs- >> and.html >> >> <http://lexaux.blogspot.com/2013/10/nodejs-elasticsearch-mognodb-extjs-and.html> >> 3. and as a bonus - 2 slidesets from local meetup me and Pavel Knorr >> had last Thursday in Kherson (Russian language!). Just in case :) >> http://lexaux.blogspot.com/2013/10/two-talks-at-local- >> software-development.html >> >> <http://lexaux.blogspot.com/2013/10/two-talks-at-local-software-development.html> >> >> Thanks, and good night! >> Alex >> > -- > Job board: http://jobs.nodejs.org/ > New group rules: > https://gist.github.com/othiym23/9886289#file-moderation-policy-md > Old group rules: > https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines > --- > You received this message because you are subscribed to a topic in the > Google Groups "nodejs" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/nodejs/yjyHVWlDPjU/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/nodejs/4dac50e5-a292-406b-b06f-a21b5cd87c5c%40googlegroups.com > <https://groups.google.com/d/msgid/nodejs/4dac50e5-a292-406b-b06f-a21b5cd87c5c%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/CACbkXguupt9Ms%3DHhUDAQxwW_Ga%2BEkv80jo_VNcM3VJ5Zq5hq8g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
