Transitioning form Front-End to AEM Developer - Troubles with Components, Parsys & more!
Please help, for I am getting awfully frustrated...
I am adding lots of information here but am putting my real questions as bullets. I can't be the only one who is having this much trouble.
I am a web developer with many years of Front End experience. I have worked with PHP and Node.JS for back end logic and I have made the jump to become an AEM developer. This transition is ROUGH!
The documentation here seems to spin me in circles.
Now I am hitting some serious road blocks. I can't get Parsys to work, at all.
When I first started and ran through http://docs.adobe.com/docs/en/aem/6-0/develop/the-basics/website.html it was pretty straight forward, but that doesn't use the Granite UI...
Copying that same technique I created a site but was never able to list ANY components on the component view. I just want that nice dashed line that says... Drop Components Here so authors could add text, but when I added the code for Parsys it was showing up as a single border that does not seem to be correct. See the attached image.
- Why could I not see any components in the components tab?
Moving forward...
So things have been progressing. I get how to setup a project, but its giving me multiple projects. I get that. I will be mainly working in the xx.ui.apps project.
Currently I have created a site that is based off the AEM Archetype Multi-Module 7. I have gotten Eclipse up and running and can sync to the JCR. I have created a simple page component that has some includes for things like my header and footer.
I have written a custom nav component that lists the pages of my site. So I have made progress, but once again, I add I am adding parsys to my page, but its just a straight line that highlights when I hover over it. I can't seem to drag any components into it. I am not even sure where these components are defined and why they are now showing up in the components tab.
I am including the parsys with the following code:
<div class="content"> <div class="main-content"> <div class="hero-image"></div> <div class="the-content"> <h1 data-sly-text="${properties.jcr:title}"></h1> <div data-sly-resource="${@path='par', resourceType='/libs/foundation/components/text'}"></div> </div> </div> <div class="clearfix"></div> <div data-sly-include="footer.html"> </div> </div>- Why are components now showing in the components tab?
- Why is my parsys only a solid border and I can't add anything to it? (See attached)
Coming from a web developer background, I have been using Sightly as much as possible. Are there other developers out there using strictly slightly? Or is it still so new that the experienced AEM developers are using JSP still.
- Being new, should I focus my efforts on JSP or Sightly?
Lastly, where do I need to spend time and mental power to really become the AEM developer I want to be? Should I spend time reading books on JSP? Java? Most of the documentation here is great for following along for very specific things, but I don't get the bigger picture quite yet. Any books anyone can recommend that would be vital to a person transitioning to this AEM world?
Thanks for the help.