• Complain

David Sulc - Backbone.Marionette.js A Serious Progression

Here you can read online David Sulc - Backbone.Marionette.js A Serious Progression full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2014, publisher: Leanpub, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

No cover
  • Book:
    Backbone.Marionette.js A Serious Progression
  • Author:
  • Publisher:
    Leanpub
  • Genre:
  • Year:
    2014
  • Rating:
    4 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 80
    • 1
    • 2
    • 3
    • 4
    • 5

Backbone.Marionette.js A Serious Progression: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Backbone.Marionette.js A Serious Progression" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Now that youve read the Gentle Introduction book and have a good grasp on Marionette fundamentals, take the next step in your journey: learn to develop advanced functionality with the framework! This book takes up where the Marionette introduction book left off. It will use an actual API back-end developed for this book, that will be easily adaptable to your framework. Dowload the sample (NOT AVAILABLE YET!) to see how the ContactManager application is configured to connect to the remote API.

David Sulc: author's other books


Who wrote Backbone.Marionette.js A Serious Progression? Find out the surname, the name of the author of the book and a list of all author's works by series.

Backbone.Marionette.js A Serious Progression — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Backbone.Marionette.js A Serious Progression" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
BackboneMarionettejs A Serious Progression David Sulc This book is for sale - photo 1
Backbone.Marionette.js: A Serious Progression
David Sulc

This book is for sale at http://leanpub.com/marionette-serious-progression

This version was published on 2014-04-02

This is a Leanpub book Leanpub empowers authors and publishers with - photo 2

* * * * *

This is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an in-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.

* * * * *

2013 - 2014 David Sulc
Cover Credits

The cover is composed of various engravings depicting the Mechanical Turk, a fake chess-playing machine constructed in the late 18th century. All images are in the public domain, and were taken from the dedicated wikipedia entry.

Work in Progress

This book is currently being written. Although I have a good idea of what readers want to learn thanks to the feedback from my first book, Id love to hear from you! The ultimate goal, of course, is to cover the main sticking points readers run into when using Marionette in more advanced projects.

Who This Book is For

This book is for web developers who have a basic, reasonably thorough understanding of the Marionette framework. Ideally, you will have already built one or two web apps with Marionette. If you arent yet comfortable with Marionette, you might want to check out my introductory book or at least study the source code of the ContactManager application (developed throughout the introductory book), as well be building on that web app.

This book will cover bending Backbone.Marionette.js to your will, so that your web apps remain maintainable even as you introduce advanced interaction capabilities, and must deal with sub-optimal situations (such as legacy APIs).

Following Along with Git

This book is a step by step guide to building a complete Marionette.js application. As such, its accompanied by source code in a Git repository hosted at https://github.com/davidsulc/marionette-gentle-introduction.

Throughout the book, as we code our app, well refer to commit references within the git repository like this:

Git commit with the original application - photo 3

Git commit with the original application:

317510dc7b0b7854f14462e93a27bd735603d41e

This will allow you to follow along and see exactly how the code base has changed: you can either look at that particular commit in your local copy of the git repository, or click on the link to see an online display of the code differences.

Any change in the code will affect all the following commit references so the - photo 4

Any change in the code will affect all the following commit references, so the links in your version of the book might become desynchronized. If thats the case, make sure you update your copy of the book to get the new links. At any time, you can also see the full list of commits here, which should enable you to locate the commit youre looking for (the commit names match their descriptions in the book).

Setting up

Well be using a remote API, implemented in Ruby on Rails. Dont worry, you wont need any knowledge of Rails to use it, and will be able to focus entirely on the Marionette portion.

Get the source code for the application, by either:

  • downloading the source from here
  • using Git to clone the repository:
gitclonegit://github.com/davidsulc/marionette-serious-progression-server.git
Deploying
The provided Rails application is not recommended for use in production as - photo 5

The provided Rails application is not recommended for use in production, as several sub-optimal modifications had to be implemented in order to provide a better learning experience for this book. Should you wish to use Rails as your framework of choice in a production application, take a look at Agile Web Development with Rails 4, Rails 4 in Action, or ruby.railstutorial.org/.

Dont forget that this project will start with an empty database, so you wont see any contacts initially! Youll have to create a few of your own to start with.

Locally

If you want a local development environment, install Rails by following these instructions. Of course, you wont need to create new project, since youll be using the one provided above. You will, however, need to install the requisite packages by executing bundle install in a console, from your projects root folder.

The package list includes the pg gem used for interacting with a PostgreSQL - photo 6

The package list includes the pg gem, used for interacting with a PostgreSQL database (as used by Heroku). If you only want to deploy locally, you can either:

  • make sure you have PostgreSQL installed on your machine;
  • comment the line (adding a # at the start) starting with gem pg in the Gemfile file located at the project root (or remove it).
If youre on OS X and Xcode is giving you issues installing the JSON gem try - photo 7

If youre on OS X and Xcode is giving you issues installing the JSON gem, try executing this command first

ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-futuregeminstal\ljson

and then trying to rerun bundle install

You can find more on the issue here.

Youll also need to configure your database schema by running the following command at the prompt (again from the applications root directory):

rakedb:migrate

Youll see some text scroll in your console, indicating that the various schema modifications were carried out and youll be ready to start with the Marionette development.

Last step: start the Rails server by navigating to the project folders root in a console, and typing in

railsserver

This will start a development server running locally, and will indicate the URL to use (usually http://localhost:3000). If you head there, you should see a message indicating that the server is ready for you.

Remotely

If you want a (free) remote production environment, take a look at Heroku (quick start, deploying an application). Note: I dont get anything from Heroku for mentioning their solution. Ive used them in the past and the single-step deployment is simply well-suited to our objectives (i.e. focusing on Marionette, not deployment and systems administration).

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Backbone.Marionette.js A Serious Progression»

Look at similar books to Backbone.Marionette.js A Serious Progression. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Backbone.Marionette.js A Serious Progression»

Discussion, reviews of the book Backbone.Marionette.js A Serious Progression and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.