Professional Documents
Culture Documents
Index
Frameworks and libraries...................................................................................................
AngularJS........................................................................................................................
Polymer...........................................................................................................................
React..............................................................................................................................
ECMAScript6....................................................................................................................
Babel...............................................................................................................................
Browserify........................................................................................................................
Gulp/Grunt.......................................................................................................................
Webpack..........................................................................................................................
NPM................................................................................................................................
JSPM...............................................................................................................................
PostCSS...........................................................................................................................
Conclusion.......................................................................................................................
01
02
04
06
08
10
11
12
13
13
15
16
17
01
AngularJS
02
AngularJS. based on
guidelines created and
development of mobile applica- optimized for displays
tions using AngularJS. based on mobile devices
on guidelines created and optimized for displays on mobile
devices. There is also the
Apache Cordova project (for-
03
Polymer
based on Material Design, tags to
encapsulate Google components,
animations and more.
This means reusable components may be created that
export third party APIs, such as
easily embedding a YouTube
video, a Google Map, a payment
gateway via PayPal, Stripe, etc.
Being reusable, they can be developed as open source projects so that any developer can
implement them on their own
projects.
Mobile First
This is now essential for any application or website. Mobile internet traffic
now outstrips that from desktop PCs. If a website displays poorly on
mobile devices, it is liable to lose customers, sales, users, etc.
Offline First
Push Notifications
At the time of writing this ebook, service workers
are not supported yet by all browsers. But this is
gradually changing. They work perfectly with
Google Chrome and Android. Other browsers are
likely to adopt them soon.
Previously such services came with native applications only. It was an excellent means of retaining
application users. And just like offline use, HTML5
service workers make this possible.
For more information:
http://webcomponents.org/
https://www.polymer-project.org/1.0/
05
React
Not long ago a new library called React emerged on the scene and has been making life difficult for Angular. React is a library created by
Facebook and used on its social network and
React's popularity resides in the
fact that it makes development easy. The learning curve
is somewhat easier to follow
than Angular, and the library is
very easy to use.
07
08
Tools
In software development the most important
aspect is the language used, but the tools we use
day-to-day are also key, helping to improve and
optimize developments and allowing programmers
to focus on code.
Babel
Browserify
JavaScript files in HTML via
script tags, or use libraries
such as RequireJS, which utilizes AMD syntaxes to create
modules.
11
Gulp/Grunt
If you are a professional web
developer you probably use CSS
preprocessors such as Sass,
Less or Stylus, as well as tools
such as Browserify and Babel to
translate your code to JavaScript. You will have a development environment and a production environment where
your code is prepared and optimized for use.
To make sure everything is in
order there are task managers and automators. These
are files with engines that can
perform specifically established
tasks such as CSS precompiling,
the concatenation of JS files,
Webpack
This module bundler tool gained
popularity thanks to the use of
React. It replaces Grunt/Gulp in
build and production preparation
tasks (preprocessing, concatenation, minifying, etc.).
NPM
NPM stands for Node Package
Manager and is used with Node.js. But it also includes modules
and libraries for Node.js and browsers, as well as plugins for task
managers: Grunt, Gulp, Webpack
and tools such as babel, postcss,
etc.
14
14
JSPM
JSPM is the acronym for JavaScript Package Manager. It can
be described as an extended
ed
NPM for the JavaScript ecosysystem. With NPM developers need
eed
only install modules and libraries
ies
that are in the NPM registry. In
contrast, with JSPM several sites
can be indicated, one of which is
NPM, but it also allows installation from GitHub or from the
JSPM registry.
This supports the use lof the
latest project versions available
in GitHub, regardless of whether
they are in NPM or not, and even
the use of private modules that
the
may not necessarily be in th
NPM registry.
PostCSS
And we mustn't overlook
PostCSS. The web development
ecosystem is not all about JavaScript. CSS also has a very important role to play.
Conclusion
17
Register
to keep abreast
of the lastest
trends
Share
this ebook
www.bbvaopen4u.com
talks to us at: