Gliding Gaelyk
Vladimír Oraný
http://vladimir.orany.cz
@musketyr
Vladimír Oraný
Gaelyk Project Lead
Independent Software Engineer
Installing Glide
*nix Systems
curl -s get.gvmtool.net | bash
gvm flush candidates
source ~/.gvm/bin/gvm-init.sh
gvm install glide
Windows
Download package from
Extract Glide archive to e.g. C:/
Add Glide bin folder to the PATH (you can try RapidEE to do so)
Setup the Glide Website
mkdir my-glide-app
cd my-glide-app
glide create
glide
Signup for App Engine
https://console.developers.google.com/start/appengine
Google App Engine
Platform as a Service
(= you code, they do the rest)
For creating large scalable Google-like websites...
... but you can run your small website as well
Provides set of API to simplification
Multiple programming language support
Python, Java, Go, PHP
Tool to simplify creating Gaelyk websites
Removes all the
Gradle clutter
Merges your project with
Gradle template
Sample Application
The Hand of Friends
antisocial network
only allows up to 5 friends
comments on posts
no public posts
We can try to implement them at the end
Resources
Google App Engine Java
https://developers.google.com/appengine/docs/java/
Gaelyk Tutorial
http://gaelyk.appspot.com/tutorial
Glide Website
http://glide-gae.appspot.com/
Glide Examples
https://github.com/kdabir/glide/tree/master/samples
Task 1: Create Home Page
Create home page for the website
Use Gaelyk routing
http://gaelyk.appspot.com/tutorial/url-routing
To make the site looking more professional you can use Bootstrap framework
http://getbootstrap.com/
Task 2: The Feed Page
Create demo page where the feed will be show
Only logged in users can access the page
If the logged in user accesses the homepage
redirect him to feed
Task 3: Keep it DRY
Extract repetitive code from home and feed page
Add login and log out links
Task 4: Post to the Feed
Crate new post
Show posts crated by logged in user
Add comments to the posts
Task 5: Manage Friends
Send email invitation
Add and remove friends
Task 6: Search in Posts
Add ability to search through the posts
Be careful about the privacy
Task 7: User admin
Ability to upload user's avatar
Ability to change the display name
Show avatars and display name at the posts
Task 8: Last Mile
Improve the performance using cache
Task 9: Deploy to the Cloud
Deploy the application to the Google App Engine