활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Wondering what exactly in the request chain interprets sightly. Like any conforming java app server would interpret JSP scriptlets, what exactly in the processing chain processes Sightly? Is there a plan to have the interpreter as a pluggable module that can be imported in other app servers like JSP?
해결되었습니다! 솔루션으로 이동.
Hi
What is Sightly?
Sightly is an HTML templating language, introduced with AEM 6.0. It takes the place of JSP (Java Server Pages) and ESP (ECMAScript Server Pages) as the preferred templating system for HTML. The name “Sightly” (meaning “pleasing to the eye”) highlights its focus on keeping your markup beautiful, and thus maintainable, once made dynamic.
As in all HTML server-side templating systems, a Sightly file defines the output sent to the browser by specifying the HTML itself, some basic presentation logic and variables to be evaluated at runtime.
But, Sightly differs from other templating systems in three main ways:
Sightly aims to reduce the time to market and the total cost of ownership for AEM projects:
Documentation Link:- https://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html
PDF Sightly Component Development :- http://dev.day.com/content/ddc/en/gems/introduction-to-sightly/_jcr_content/par/download/file.res/Si...
Link:- http://www.aemcq5tutorials.com/tutorials/sightly-new-features-vs-jsp-aem/
//Difference between Sightly vs JSP
Link:- http://labs.6dglobal.com/blog/2014-05-22/sightly-vs-handlebars-vs-jsp-comparing-scripting-languages/
//Sightly vs Handlebars vs JSP
PS: we can not use it beyond the scope of AEM as of now.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Hi
What is Sightly?
Sightly is an HTML templating language, introduced with AEM 6.0. It takes the place of JSP (Java Server Pages) and ESP (ECMAScript Server Pages) as the preferred templating system for HTML. The name “Sightly” (meaning “pleasing to the eye”) highlights its focus on keeping your markup beautiful, and thus maintainable, once made dynamic.
As in all HTML server-side templating systems, a Sightly file defines the output sent to the browser by specifying the HTML itself, some basic presentation logic and variables to be evaluated at runtime.
But, Sightly differs from other templating systems in three main ways:
Sightly aims to reduce the time to market and the total cost of ownership for AEM projects:
Documentation Link:- https://docs.adobe.com/docs/en/aem/6-0/develop/sightly.html
PDF Sightly Component Development :- http://dev.day.com/content/ddc/en/gems/introduction-to-sightly/_jcr_content/par/download/file.res/Si...
Link:- http://www.aemcq5tutorials.com/tutorials/sightly-new-features-vs-jsp-aem/
//Difference between Sightly vs JSP
Link:- http://labs.6dglobal.com/blog/2014-05-22/sightly-vs-handlebars-vs-jsp-comparing-scripting-languages/
//Sightly vs Handlebars vs JSP
PS: we can not use it beyond the scope of AEM as of now.
I hope this would help you.
Thanks and Regards
Kautuk Sahni
When you write code in sightly file in .html file, a Java file will be generate with the help of it. That will be done by sightly engine.
Those files can be found here /var/classes/dd8d5f1b-8f16-4378-a712-accecb264070/sightly/1.0.2/apps
When you write JS-USE api, it will be rendered by Rhino engine.
This should give you more insight of sightly:
http://blog.justinedelson.com/2016/01/18/adding-javascript-functions-for-sightly-to-use.html
조회 수
답글
좋아요 수
Hi All,
Thanks a lot for your inputs here. It gave a good amount of information.
조회 수
답글
좋아요 수
That's awesome information. Thanks all.
The only issue I have with Sightly is it is very specific to AEM and is not as intuitive as say handlebars js templating or jquery in general. Knowing slightly also doesn't help beyond AEM in contrast to JSP which is understood by any java platform.
Anyways, thanks a lot for the input. This is very helpful.
조회 수
답글
좋아요 수
I am unable to see any file under /var/classes. any idea why this might be happening ?
조회 수
답글
좋아요 수
FYI - since labs.6global.com is down, here's a link to the Sightly vs. Handlebars vs. JSP comparison on my personal blog:
https://www.danklco.com/posts/2014/05/22/sightly-vs-handlebars-vs-jsp-comparing-scripting-languages/
조회 수
답글
좋아요 수