Sightly-based multi-module Maven archetype available?

2018-07-12 Thread Greg Fullard
Hi All

I'm currently going through a process of defining a ramp-up traning program
for some junior developers/interns on Sling.

(Later in the program they will shift over to AEM, but I really want them
to get a proper understanding on vanilla Sling first)

The available Maven archetypes seem to be very limited through and I'm
spending a ton of time saying things like "...but you won't really be doing
it like this..."

I'm thinking there will be a lot of value in creating a simple multi-module
archetype for vanilla Sling that is pre-setup to run with a vault filter
and Sightly templates.

Has anyone else done this, that I'm just missing? If not, would anyone else
find it valuable if I work on something like that?

Note: I'm not a Java master, but can stumble around an IDE without too many
injuries.

Cheers

Greg


Different ways to define initial content :: Content.xml vs Json equivalent

2017-04-01 Thread Greg Fullard
Hi All

I see that there is some difference between how content projects are
handled between the Sling IDE tools and the Maven archetypes.


   1. The "Sling Content Project" wizard creates a project with a jcr_root
   folder which then contains folders and content.xml files. This is very
   similar to what I'm used to with AEM Archetype 10.
   2. The sling-initial-content-archetype, on the other hand, generates a
   SLING-INF folder with an XML node descriptor file (as explained at
   
http://sling.apache.org/documentation/bundles/content-loading-jcr-contentloader.html
   )
   3. The Slingbucks example uses JSON descriptor files.


Obviously all these methods work, but I'm interested to get an idea of what
the recommended method is. Perhaps based on specific criteria of my
project?

Much appreciated

Greg

-- 


--
*Unlock Interaction*
CIC = Correspondence, Interactions & Communications


*8 BIT PLATOON disclaimer*
This e-mail transmission contains confidential information, which is the 
property of EOH Holdings Limited and its subsidiaries (“EOH”). No person, 
other than the recipient (so indicated by the sender) may use or disclose 
the contents of this message, links or attachments hereto, to any person 
whatsoever. Unauthorised disclosure and/or use may result in civil and 
criminal liability.
Any views expressed in this message are those of the individual sender, 
except where the message states otherwise and the sender is authorised to 
state them to be the views of any such entity.
The disclaimer forms part of the content of this e-mail in terms of section 
11 of the Electronic Communications and Transactions Act, 25 of 2002. Refer 
to http://www.eoh.co.za/disclaimer 
--




Re: Best Sling samples for a beginner to look at?

2017-03-29 Thread Greg Fullard
Tx Chris, Bertrand, Andreas

I think that gives me a good starting point.

I'll keep a mini-journal of my experiences which might give some insights
into where the learning curve gets a bit steep.

Perhaps it even turns into a tutorial of sorts.

Cheers

Greg



On Tue, Mar 28, 2017 at 7:15 PM, Andreas Schaefer Sr. <schaef...@me.com>
wrote:

> Slingshot and Chris’ Slick are good examples as far as I can tell.
>
> That said in Sling there are so many ways to do the same thing
> that it is very difficult to figure out what is currently the best way.
>
> Slingbucks is ok but it is outdated (as far as I can tell) using ESPs
> and not using HTL and Sling Models.
>
> To understand what is going on you probably need to know (sooner
> or later) what is in your JCR tree. For that I would recommend using
> Composum (comes with Sling 9) otherwise you need to install it
> into Sling 8.
>
> I would start with generating a Sling Initial Content Bundle using the
> Sling Maven Archetype. Then, as Chris mentioned, adding new
> stuff to it one by one making sure you understand what is going on
> in the background.
>
> If you have questions then post them here.
>
> Cheers - Andy Schaefer
>
> > On Mar 28, 2017, at 1:56 AM, Bertrand Delacretaz <bdelacre...@apache.org>
> wrote:
> >
> > Hi Greg,
> >
> > On Tue, Mar 28, 2017 at 6:21 AM, Greg Fullard <gr...@8bitplatoon.com>
> wrote:
> >> ...The only ones that have been touched in the last year are:
> >> - Slingshot
> >> - Slingbucks
> >> - Fling (the one Andy mentioned) ...
> >
> > I can really only speak about Slingbucks - that one is relevant and up
> > to date, it's a small thing but demonstrates important basic concepts.
> >
> > -Bertrand
>
>


-- 

GREG FULLARD
ARCHITECT ON CALL ///
[image: 8 Bit Platoon Logo]

CELL +27 82 783 3204
EMAIL gr...@8bitplatoon.com

WEB 8bitplatoon.com


This email is protected by our email disclaimer
<http://8bitplatoon.com/disclaimer.html>.
[image: Facebook] <https://www.facebook.com/8BitPlatoon> [image: Twitter]
<https://twitter.com/8bitplatoon> [image: LinkedIn]
<https://www.linkedin.com/company/8-bit-platoon?trk=tyah=idx%3A1-1-1%2CtarId%3A1425035050240%2Ctas%3A8+bit+platoon>

-- 


--
*Unlock Interaction*
CIC = Correspondence, Interactions & Communications


*8 BIT PLATOON disclaimer*
This e-mail transmission contains confidential information, which is the 
property of EOH Holdings Limited and its subsidiaries (“EOH”). No person, 
other than the recipient (so indicated by the sender) may use or disclose 
the contents of this message, links or attachments hereto, to any person 
whatsoever. Unauthorised disclosure and/or use may result in civil and 
criminal liability.
Any views expressed in this message are those of the individual sender, 
except where the message states otherwise and the sender is authorised to 
state them to be the views of any such entity.
The disclaimer forms part of the content of this e-mail in terms of section 
11 of the Electronic Communications and Transactions Act, 25 of 2002. Refer 
to http://www.eoh.co.za/disclaimer 
--




Best Sling samples for a beginner to look at?

2017-03-27 Thread Greg Fullard
Hi All

An earlier mail Andy Schaefer actually highlighted something that I've been
struggling with over the last week or so.

I'm very green with Sling (Playing with it during my limited spare time for
the last 2-3 months) and have struggled to find a lot of useful
getting-started material online. The tutorials on the Sling website feels
quite outdated (mostly esp and jps examples) and besides the Sling page
I've really only found a handful of blogs and youtube videos.

I had a look at the samples folder, but most of those samples seem
super-old. The only ones that have been touched in the last year are:
 - Slingshot
 - Slingbucks
 - Fling (the one Andy mentioned)

So my question is:

   - Will any of those samples really provide a useful learning experience
   for a Sling noob?
   - Or should I rather work through something like Chris Millar's Slick-2
   framework (Seems like quite a beast though)

If you feel the learning experience from the samples will be worthwhile,
I'm quite willing to help get some of them updated with Sightly etc.

Appreciate the help

Greg Fullard
-- 

GREG FULLARD
ARCHITECT ON CALL ///
[image: 8 Bit Platoon Logo]

CELL +27 82 783 3204
EMAIL gr...@8bitplatoon.com

WEB 8bitplatoon.com


This email is protected by our email disclaimer
<http://8bitplatoon.com/disclaimer.html>.
[image: Facebook] <https://www.facebook.com/8BitPlatoon> [image: Twitter]
<https://twitter.com/8bitplatoon> [image: LinkedIn]
<https://www.linkedin.com/company/8-bit-platoon?trk=tyah=idx%3A1-1-1%2CtarId%3A1425035050240%2Ctas%3A8+bit+platoon>

-- 


--
*Unlock Interaction*
CIC = Correspondence, Interactions & Communications


*8 BIT PLATOON disclaimer*
This e-mail transmission contains confidential information, which is the 
property of EOH Holdings Limited and its subsidiaries (“EOH”). No person, 
other than the recipient (so indicated by the sender) may use or disclose 
the contents of this message, links or attachments hereto, to any person 
whatsoever. Unauthorised disclosure and/or use may result in civil and 
criminal liability.
Any views expressed in this message are those of the individual sender, 
except where the message states otherwise and the sender is authorised to 
state them to be the views of any such entity.
The disclaimer forms part of the content of this e-mail in terms of section 
11 of the Electronic Communications and Transactions Act, 25 of 2002. Refer 
to http://www.eoh.co.za/disclaimer 
--