The Adobe Consulting Services Team has generated a series of AEM code samples. These samples are well commented pieces of code to help AEM Developers understand the key building blocks of AEM. The samples are available here: https://adobe-consulting-services.github.io/acs-aem-samples/.
A multi-part tutorial designed for developers new to AEM covering fundamental topics like project setup, Core Components, Editable Templates, Client Libraries and component development: Getting Started with AEM Sites - WKND Tutorial
A Maven template to create a new AEM project as starting point to develop your own functionality is available here.
Standard, touch-enabled UI code samples are available here.
These code samples are for educational purposes only and should not be deployed on a production instance of AEM.