Are you ready for it?
This course teaches the basics of modern Web UI development. We want to help you create the best of breed user experiences, gaming, and mobile applications.
→ index
The training will start at a low level, and does not require in depth knowledge of the platform in question. Desirable participant profile: trainees and outside Globant candidates. A basic knowledge on HTML, CSS, and JavaScript is desired, though.
→ index
Four/five weeks total.
Three weeks for guided learning and one/two weeks for app development.
→ index
You can contact other bootcamp participants or any available tutor if you need technical assistance. We will create one chat for bootcamp members only, and another one for bootcamp members and tutors when bootcamp starts.
-
Code reviews after each practice and sprint
-
Checkpoint completion after Learning stage with your assigned tutor
→ index
Developers that move faster than average can go ahead and complete as much exercises as they want.
→ index
-
At least, three different browsers installed on the developer machine. As Example:
- Chrome
- Firefox
- IE11 (Keep in mind cross browser compatibility)
-
Any IDE available for Web Development.
-
Google Hangouts for calls. Slack channel for questions.
-
Create your own GitHub account. Follow this guideline to setup your account.
-
NodeJS server.
- Install
http-server
globally, by runningnpm install -g http-server
. - To start the server, from a command line interface, run
http-server
in the directory where you will clone the startup repo. - Open your web browser and point to localhost:PORT (the
http-server
should have outputted the number of PORT you should use)
- Install
-
Fork Startup repository to use as a base to host the project code.
→ index
The boot camp is organized in the following way:
-
The first three weeks will be used for intensive self learning. Each topic will have reading and practices parts. Tutors will be available to answer technical questions.
-
The next week will be used to develop an application following a life process.
-
All the exercises must work within a mobile environment.
-
Team play is encouraged but the work might be evaluated per person (depending on number of bootcamp students).
-
All code and documentation must be in English.
-
Code must adhere to Globant’s UI HTML, CSS and JavaScript coding guidelines.
→ index
Each day you will grab the fundamentals of the key building blocks for the next generation mobile apps: yeah, web apps! Web apps powered by the latest, and coolest toolkits, and techniques.
On each learning day you will have to:
-
Read: We will provide you with documentation related with current sprint content so you can have a background reference, guide and examples to complete the following practice.
-
Practice: You will implement the previously gathered knowledge in simple coding activities. Most important task numbers are listed in the "Key Points" section for each day and they should get most of your attention. If you feel you don’t have enough time to complete all tasks, start with these ones when possible.
-
Commit: You will commit all your code as soon as you finish each exercise. If not you must commit your work in a daily basis.
At high level you could see the keys as:
HTML describes the content semantics and structure of a web page. It was designed as a markup language, if you know XML, you could consider HTML as a subset of XML with a predefined semantic.
On the other hand, CSS allows to define the look and feel of the content. It's used to set colors on HTML elements, customize sizes, define the layout of the document content, among others. (e.x. "The following list of elements must be shown as a menu", "The main title of the page should use this particular font").
JavaScript is a programming language that runs in all Web Browsers. Using JavaScript we can create full-fledge web applications.
Now that you know which are the three pilars of a web application's UI, it's time to dive into them.
This topic is hosted in a different repository, you can find it in HTML & CSS Basics
Some resources
→ index
Reading
-
Beginner: Eloquent JavaScript 2nd Edition basic tutorial (in case you need it!)
-
Beginner to advance: Speaking JavaScript: An In-Depth Guide for Programmers
-
Recommended: devdocs.io to check Web platform documentation around JavaScript, frameworks, Browser APIs, etc
Extra documentation
-
MDN JavaScript Reference: https://developer.mozilla.org/en/JavaScript/Reference
-
Web Platform Documentation Project: https://webplatform.github.io/
-
Understanding ECMAScript 6: https://leanpub.com/understandinges6/read
-
ECMAScript® 2015 Language Specification For really advanced developers
-
Exploring ES2018 and ES2019, if you want to know more about future new features in Javascript.
-
Airbnb Javascript Style Guide, to keep in mind good practices.
-
You Don't Know JS Books, if you want to go deeper into Javascript logic.
-
Using Chrome console to debug JavaScript https://developer.chrome.com/devtools/docs/console
Practice
Latest IE, Chrome and Firefox browser should be used. All exercises must be done with ECMAScript 6 syntax.
-
Creating our index page with some sections.
-
Create a file called
index.html
with the correct doctype and some random content. -
Add a stylesheet to the HTML file and use it to center the texts of all
section
elements. -
Add a hidden
section
withHello World
inside of it. -
When the page finished loading the section must fade in.
-
-
Adding some events
-
Add a button below the
section
to your index page. -
Create a function that showcases an alert message when called.
-
Attach a click event to the created button which calls the function previously created.
-
-
Data fetching
-
Create a function to get the response from http://api.icndb.com/jokes/random.
-
Replace the button's click event with this new function.
-
Write the response inside the
section
element. -
Create a reusable function to perform AJAX calls. This function must accept a
config
object and return an ES6 Promise. -
If a server error occurs
section
content must turn red. -
Hint: Use the XMLHttpRequest to fetch data from the service.
-
-
Data fetching with parameters
-
Create a function to get the response from https://api.github.com/search/repositories with parameters
q = 'JavaScript'
. -
Showcase a list of repositories, provided by the service, in the right side of the screen.
-
Hint:
ul
must be used to list the repositories. -
Add an input with
type="text"
to perform a search for any value.
-
-
W3C
- Validate your page using W3C validator: https://addons.mozilla.org/en-US/firefox/addon/web-developer/
-
DOM manipulation
-
Write a function that takes as input a matrix of data and outputs a DOM structure representing a table. Attach it to the body of a given page.
-
Hint: use
document.createElement
,document.createTextNode
, andNode.appendChild
methods.
-
Key Points:
1, 3, 4, 6
→ index
In this Topic we will focus on learning how JavaScript approaches Object-Oriented programming.
If you come from Java, or .NET you will find yourself a little bit lost at the beggining. ECMAScript6 provides a layer of syntactic sugar over the previous version (5.1) that is expected to simplify the language.
Reading
-
Understand how prototypes works in ECMAScript 5.1 http://yehudakatz.com/2011/08/12/understanding-prototypes-in-javascript/
-
ECMAScript 6 New Features: http://es6-features.org/. You can compare ECMAScript 5 and 6 code.
-
Read the Chapter on JavaScript classes from Understanding ECMAScript6
-
Read about ES6 Modules
-
Extra: Read about AMD, CommonJS, and ES6 Modules Writing Modular JavaScript
-
An overview on all the features ECMAScript provides https://github.com/lukehoban/es6features
Practice
-
Creating classes
-
Create a Movie Class with the following structure
Movie - title
- year
- duration+ constructor(name, year, duration)
+ play()
+ pause()
+ resume() -
Instantiate some of your favorite movies and play with them in the console.
-
Create an Actor class with the following structure
Actor - name
- age+ constructor(name, age) -
Create a class called EventEmitter with the following structure
EventEmitter + constructor()
+ on(eventName, callback)
+ emit(eventName)
+ off(eventName, callback)The
on
method will receive a eventName and a callback or listener that will be executed each time a that event is triggered.The
emit
method will trigger events to be consumed by other functions or objects.The
off
method will delete previously defined event listeners.
-
-
Class inheritance
- Make the Movie class a subclass of EventEmitter and use the inherited methods to publish
play
,pause
andresume
events when the related method is called.
- Make the Movie class a subclass of EventEmitter and use the inherited methods to publish
-
Working with classes
-
Add a method to Movie as
addCast(cast)
that allows the addition of one or more Actors to a movie. It must work if provided with more than one Actor at the same time.You should be able to do something like
const terminator = new Movie('Terminator I', 1985, 60); const arnold = new Actor('Arnold Schwarzenegger', 50); const actors = [ new Actor('Paul Winfield', 50), new Actor('Michael Biehn', 50), new Actor('Linda Hamilton', 50) ]; terminator.addCast(arnold); terminator.addCast(otherCast);
-
Create a Logger class with the following structure
Logger + constructor()
+ log(info)After creating this class make an instance of Logger and make it listen to Movie's
play
event.As example you must end with something like
const terminator = new Movie('Terminator I', 1985, 60); ... terminator.play(); // output: The 'play' event has been emitted
-
-
Mixins
-
Create an object called social, defining the methods
share(friendName)
andlike(friendName)
that generates the following output{friendName} likes/share {movieName}
.Then extend a movie with it to have access to this methods.
You should end with something like
const ironman = new Movie(...); ... ironman.share('Mike Blossom');
Hint: A mixin is not a class which will be instantiated later on. Use a way to extend some object methods into another object. Template literals might be useful to generate the required output.
-
-
ES6 Modules
-
Split all your classes into different files.
-
Using babel create a single JS bundle.
Hint: check out this
-
Key Points
3, 4, 5, 6
→ index
Reading
-
Take a glimpse into HTML5 APIs: http://www.html5rocks.com/en/
-
Now, take a deep dive into HTML5: http://diveintohtml5.info/ (optional)
-
Understand the capabilities the Web has to offer right now https://whatwebcando.today/
Practice
-
Storages
-
Create a page with a textarea and a save button.
-
Save textarea content's when the user clicks on save. Use both localStorage and IndexedDB.
-
Add a clear button to erase saved content.
-
-
Drag and Drop
- Add drag and drop support to load text files.
-
WebSockets
- Open a web socket and test it against this service.
-
SVG
- Create a web page with a SVG element to show a vector graphic. Make sure you understand when is better to use SVG instead of bitmaps, and viceversa.
-
Canvas
-
Create a web page with a canvas element. Upon page load draw basic geometric figures with random colors and strokes.
-
Using the Canvas API, animate a rectangle's position on the screen. Make sure not to use setTimeout but setInterval to perform the animation.
-
Key Points
1, 2, 3, 4
→ index
Reading
-
First ReactJS Hello World then Thinking in React.
-
Understand Props & States.
-
Install Create React App and get familiar with it.
-
Read about some ReactJS's Best Practices, Patterns & Anti-patters.
-
Check some ReactJS's Test utilities.
-
Check the Getting Started with Redux video series, to understand the basic concepts of this state container.
Extra reading
-
Readings on lifecycle methods: React Lifecycle Methods- how and when to use them, Understanding the React Component Lifecycle
Practice
-
Create the needed components to allow the user create a new Movie.
-
Create the needed components to show a list of your favorite Movies.
-
Create the needed components to allow the user edit a Movie.
-
Update the movie listing to allow the user delete movies.
-
Refactor the application to use Redux.
Tips
- First, try to think which should be your app structure (in terms of components).
- Second, figure out which component should handle the movies.
- You should create a component when trying to create a view (a view is also a component).
Key Points
1, 2, 5, 6
→ index
In this topic you will learn how to develop unit tests for your React components, for this purpose we will use the following libraries:
- Mocha as test runner
- Chai as an assertions library
- and Enzyme, which is a testing utility that will make it easier to acccess to React components
Reading
-
Read this React Testing Tutorial, to understand and set it up the different tools that you are going to use for this practice. There are more testing utilities explained in the tutorial, if you want to learn more about unit and integration tests.
-
Learn The right way to test React components, to understand the main points of unit testing in React.
Extra reading
- Get to know Enzyme purpose https://medium.com/airbnb-engineering/enzyme-javascript-testing-utilities-for-react-a417e5e5090f
Practice
-
Using the components created in Topic 4, define which components and functions might need Unit tests and the test cases you want to cover.
-
Implement the unit tests using Mocha, Chai and Enzyme.
Tips
Remember that unit tests are used to test the functionality of each component separately, checking that each part of your code is doing its job in the right way.
→ index
Reading
-
Read Angular's Tutorial and the QuickStart guide.
-
Check your code to comply with Angular's Style Guide.
-
Learn how to create unit tests for your angular applications https://angular.io/guide/testing
-
Get familiar with the Angular CLI tool.
Practice
-
Create a movie listing with your favorite movies. Data should be persisted in localhost.
-
Show movie details in a separate details view.
-
Allow to add / edit / remove movies from the list.
-
Configure Jasmine+karma and write tests for your application.
Key Points
1, 2, 3
→ index
It’s time for the real thing
You will work on a project to achieve a fully working mobile web app developed in JavaScript and using the latest tags and APIs available in HTML5.
You will apply all the knowledge obtained during the learning weeks.
Will you be able to consult documentation? Of course!
You will be able to use any resource you know that helps you complete your project, be it going back to documentation sites, tutorials or just googling what you need. Luckily the web has plenty of awesome resources waiting for you to grasp them!
Reviews
Tutors will give you feedback at the end of the project by reviewing and commenting your committed code in GitHub.
→ index
Here's a list of resources, tools and tips to continue your learning path. This is meant for more advanced students and developers who wish to continue learning and need a little guidance. Feel free to play with them!
- Learning Flexbox
- Introduction to React Router
- Understanding redux
- Observables in Angular
- Webpack concepts and the webpack getting started guide
→ index