#777 Год выпуска: 2015 Производитель: Packt Publishing Сайт производителя: packtpub.com Автор: Mathieu Chauvinc Продолжительность: 2:08 Тип раздаваемого материала: Видеоклипы Язык: Английский
Описание: AngularJS is a Google-backed JavaScript framework that simplifies the development of single-page applications and other web page JavaScript widgets. It is one of several modern frameworks that are revolutionizing web development by bringing a fresh, more professional orientation to application building. Developers will love working with the framework, which allows them to focus their time on actual logic, instead of having to deal with repetitive tasks such as rendering and event binding. Introducing AngularJS will show you how to build a complete application in a very short time, yet without cutting corners that would be detrimental to code quality. We will take you through a concrete application, a movie library app, one step at a time, in order to introduce the concepts behind all the moving parts of an AngularJS application. We will start by quickly scaffolding an entire application’s structure using Yeoman. This will lay the foundations of our application in a well-structured manner. Then we'll focus on displaying data and allowing the user to interact with the application, and how can Angular help us handle rendering and events binding, so we can focus more on the app logic itself. We'll peek into templates and controllers, and will see how Angular’s declarative nature makes it obvious which element is in charge of which functionality. We will then introduce a second view to the application, and show how to handle routing between the two views, including reading parameters from the URL and how we can very quickly create new routes with the companion tool Yeoman. You will also learn how to load data from an API using AJAX, both from the same server as the app, as well as from an external source. Finally, we will close by introducing services that are Angular data-layer singleton objects as well as building a client-side data persistence using LocalStorage. Introducing AngularJS will guide you through all the aspects of an Angular application, start-to-finish, view logic to data layer and persistence. You will learn how Angular makes developers lives easier by taking care of rendering and event handling, giving you more time to focus on what you love: the actual logic of the app. With Yeoman, you will also guarantee the quick creation of new views, routes, and controllers, without ever having to create a file manually.
Содержание
Getting Started with an Angular Project The Course Overview "Angularizing" Your Existing Web Page Bootstrapping an Angular Application
Controllers and Templates Defining a Controller Displaying Data Dynamically Repeating Content for All Items in a List Area of Influence of a Controller User Interactions and Data Binding Adding Interactions to the Template Creating Corresponding Controller Logic Reading Data from the Template Conditionally Showing/Hiding Elements
App Routing Route Declaration and the ng-view Directive Creating New Routes Routing with Parameter Creating Links
Loading External Data Making AJAX Calls via $http Handling Responses via Success and Error Callbacks Building GET and POST Requests Making Cross-domain Requests Using JSONP
Introducing Services Separating the Loading of Data from the Controller Introducing the "factory" Type of Service Injecting Your Own Services Implementing Persistence
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 7
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения
Ресурс не предоставляет электронные версии произведений, а занимается лишь коллекционированием и каталогизацией ссылок, присылаемых и публикуемых на форуме нашими читателями. Если вы являетесь правообладателем какого-либо представленного материала и не желаете чтобы ссылка на него находилась в нашем каталоге, свяжитесь с нами и мы незамедлительно удалим её. Файлы для обмена на трекере предоставлены пользователями сайта, и администрация не несёт ответственности за их содержание. Просьба не заливать файлы, защищенные авторскими правами, а также файлы нелегального содержания!