Books: 25

Angular

CoverTitleYear
Learn how to connect ASP.NET Core and Angular 2 to build a powerful and dynamic applications from scratch with this guide to cutting-edge web development
About This Book Build a complete single page application with two of the most impressive frameworks in modern development Find out how to bring together the capabilities and features of both Angular 2 and ASP.NET Core From managing data, to application design, through to SEO optimization and security more » - take a comprehensive approach to building your next web project Who This Book Is For ASP.NET developers - find out how to bring Angular 2 into your development stack and extend your skillset so you can build even better single page applications. What You Will Learn - Find out how ASP.NET Core’s and Angular 2’s features perfectly complement each other - Learn how to set up the resources you need and configure the MVC 6 interface - Handle requests and actions using server-side and client-side Routing Create the Data Model using Entity Framework Core - Learn how to use Angular 2 components and master directives - Implement a token-based authorization and authentication flow supporting external login providers such as Facebook, Google, Twitter and more - Create responsive, mobile-friendly views using Bootstrap and LESS Setup and optimize your production environment using IIS and SQL Server - Secure your application against a diverse range of dangerous security threats In Detail Writing code is about striking a balance between maintainability and productivity - how quickly you can write it against how much more you have to write in the future. This is a guide to doing just that by combining the impressive capabilities of ASP.NET Core and Angular 2. It shows you how to successfully manage an API and use it to support and power a dynamic single-page application. We'll show you how to construct your data model and manage routing and redirects before wrapping it up and styling it. « less
2016
Learn the best practices on writing efficient jQuery applications to maximize performance in large-scale deployments
KEY FEATURES * Learn about the observer pattern and the deferred observer pattern, two of the most popular design patterns that handle custom events * Advance your jQuery skills by learning about patterns such as divide and conquer, facade, and builder and factory to handle complex results * This more » step-by-step guide to applying micro-patterns and optimizing jQuery applications will help you get the best performance in a production environment BOOK DESCRIPTION jQuery is a feature-rich JavaScript library that makes HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a variety of browsers. With a combination of versatility and extensibility, jQuery has changed the way that millions of people write JavaScript. jQuery solves the problems of DOM manipulation, event detection, AJAX calls, element selection and document queries, element attribute and data management, as well as object management utilities. This book addresses these problems and shows you how to make the best of jQuery through the various design patterns available. The book starts off with a refresher to jQuery and will then take you through the different design patterns such as facade, observer, publisher/subscriber, and so on. We will also go into client-side templating techniques and libraries, as well as some plugin development patterns. Finally, we will look into some best practices that you can use to make the best of jQuery. WHAT YOU WILL LEARN * Respond to user actions * Achieve greater flexibility and code decoupling * Have a central point for emitting and receiving application level events * Structure the application into small independent modules * Abstract complex APIs * Isolate the procedure of generating complex parts of the application * Efficiently orchestrate asynchronous procedures using jQuery Deferred and Promises * Utilize the most widely-used client-side templating libraries for more complex use cases ABOUT THE AUTHOR Thodoris Greasidis is a senior web engineer from Greece. He graduated with honors from the University of Thessaly, holds a polytechnic diploma in computer, networking, and communications engineering, and a master's degree in computer science. He is a full-stack developer, responsible for implementing large-scale web applications with intuitive interfaces and high-availability web services. Thodoris is part of the Angular-UI team and has made many open source contributions, with a special interest in Mozilla projects. He is also an active member of the Athens AngularJS Meetup and a technical reviewer of Mastering jQuery UI, Packt Publishing. He is a JavaScript enthusiast and loves bitwise operations. His interests also include NodeJS, Python, project scaffolding, automation, and artificial intelligence, especially multi-agent systems. TABLE OF CONTENTS 1. A Refresher on jQuery and the Composite Pattern 2. The Observer Pattern 3. The Publish/Subscribe Pattern 4. Divide and Conquer with the Module Pattern 5. The Facade Pattern 6. The Builder and Factory Patterns 7. Asynchronous Control Flow Patterns 8. Mock Object Pattern 9. Client-side Templating 10. Plugin and Widget Development Patterns 11. Optimization Patterns « less
2016
Your quick, no-nonsense guide to building real-world apps with Angular 2
ABOUT THIS BOOK * The first and best overview of Angular 2 on the market this guide gathers together everything there is to know about Angular 2 and groups it into intuitive sections. * This book is your detailed map of every feature and its use cases. * The author has done all the hard work of fitting more » everything Angular 2 means for developers together for you, making this book the quickest way to learn Angular 2 from scratch. WHO THIS BOOK IS FOR This book is targeted at web developers who want to build the next generation of state-of-the-art mobile and desktop web applications with Angular 2. This book does not require you to have prior exposure to either Angular 1.x or 2, although comprehensive knowledge of JavaScript is assumed. It's great for newcomers to Angular who learn best through clear explanations and definitions of concepts. WHAT YOU WILL LEARN * Set up your working environment in order to have all the tools you need to start building Angular 2 components with minimum effort * Get up to speed with TypeScript, a powerful typed superset of JavaScript that compiles to plain JavaScript * Take full control of how your data is rendered and updated upon data changes * Build powerful web applications based on structured component hierarchies that emit and listen to events and data changes throughout the elements tree * Explore how to consume external APIs and data services and allow data editing by harnessing the power of web forms made with Angular 2 * Deliver seamless web navigation experiences with application routing and state handling common features with ease * Discover how to bulletproof your applications by introducing smart unit testing techniques and debugging tools IN DETAIL Angular 2 was conceived as a complete rewrite in order to fulfill the expectations of modern developers who demand blazing fast performance and responsiveness from their web applications. This book will help you learn the basics of how to design and build Angular 2 components right from the beginning, providing full coverage of the TypeScript syntax required to follow the examples included. From that point on, we will build upon our first components, interconnect them, and give shape to larger web applications. We will then move to implementing routing in Angular 2, analyzing how to handle application states, and navigating from one component to another in depth. After this, the book features full coverage of web forms and user input validation, later leveraging all of this information to go through the basics of implementing user authentication in Angular 2 and providing a bird's eye view of the different strategies at hand to secure pages and areas of your website. Animating components and DOM elements with Angular 2 is also covered in this book. The final part of this book provides broad insights into how to unit test components and other modules such as services, directives, routes or pipes. STYLE AND APPROACH This book covers everything there is to know about getting well-acquainted with Angular without bogging you down. Everything is neatly laid out under clear headings for quick consultation, offering you the information required to understand a concept immediately, with short relevant examples of each feature. « less
2016
Learn to build component-based user interfaces of the future using Angular 2
KEY FEATURES * Developers will be able to make better websites right away by building the example components in the book * You'll learn new ways of conceptualizing how to design your web applications, which will prepare you to keep making more sophisticated projects * Learning these concepts and building more » these apps will put developers ahead of the curve in preparing for "tomorrow's Internet," as component-based development and component-centric thinking are increasingly in demand BOOK DESCRIPTION Through this book, you will learn how to use Angular 2 and its component-based architecture in order to develop modern user interfaces. A new holistic way of thinking about UI development will be established throughout this book, and you will discover the power of Angular 2 components through many examples. This book is based on Release Candidate 1(RC1) of Angular 2. On this journey, you'll discover the benefits of component-based user interfaces over the classical MVC design. Also, you will get a chance to compare a classical MVC with a component-based approach and understand the challenges of modern user interfaces. You will learn the very basics of the required core technologies and the setup needed to get going with Angular 2, and progressively enhance your understanding of Angular 2 components by working on the example application. After reading the book and following the example application, you will have built a small-to-mid-sized application with Angular 2 using a component-based UI architecture. WHAT YOU WILL LEARN * Understand the concept of a component-based UI architecture * Grasp Angular 2 core concepts * See the technologies used to work with Angular 2 (mainly ES6) * Perform basic and advanced tasks using Angular 2 components * Use dependency injection within Angular 2 components * Test Angular 2 components with testing frameworks * Structure an application using Angular 2 * Build an entire application from A to Z using Angular 2 ABOUT THE AUTHOR Gion Kunz has years of experience with web technologies and is totally in love with web standards. With over 10 years of experience of writing interactive user interfaces using JavaScript, he constantly evaluates new approaches and frameworks. He's worked with AngularJS for over 3 years now and is one of the earliest adopters of Angular 2. Gion speaks about Angular 2 at conferences, and he helps with the organization of the Zurich Angular Meetup group in Switzerland. He currently works for the start-up company oddEVEN in Zurich, where they help customers build websites and applications. Besides working for oddEVEN, Gion is a head instructor at the SAE Institute in Zurich and loves to get his students enthusiastic about the Web. He is also the creator of the responsive charting library Chartist, and he loves to contribute to the open source community whenever he finds time. When Gion is not busy with web technologies, you can probably find him at his home music studio, outdoors, fishing, or spending quality time with his girlfriend and their cute little dog. TABLE OF CONTENTS 1. Component-Based User Interfaces 2. Ready, Set, Go! 3. Composing with Components 4. No Comments, Please! 5. Component-Based Routing 6. Keeping Up with Activities 7. Components for User Experience 8. Time Will Tell 9. Spaceship Dashboard 10. Making Things Pluggable 11. Putting Things to the Test 12. Task Management Application Source Code « less
2016
Powerful, Effective, and Efficient Full-Stack Web Development
As a Rails developer, you care about user experience and performance, but you also want simple and maintainable code. Achieve all that by embracing the full stack of web development, from styling with Bootstrap, building an interactive user interface with AngularJS, to storing data quickly and reliably more » in PostgreSQL. Take a holistic view of full-stack development to create usable, high-performing applications, and learn to use these technologies effectively in a Ruby on Rails environment. Rails is a great tool for building web applications, but it's not the best at everything. Embrace the features built into your database. Learn how to use front-end frameworks. Seize the power of the application stack through AngularJS, Bootstrap, and PostgreSQL. When used together, these powerful and easy-to-use tools will open you to a new world of possibilities. In each chapter of this book, you'll learn how these technologies can work together inside a Rails app to deliver well-performing applications that offer great user experiences. Create a usable and attractive login form using Bootstrap's styles, while ensuring the database table backing it is secure, using Postgres' check constraints. You'll see how creating an advanced Postgres index for a case-insensitive search can speed up your back-end--allowing you to create a highly dynamic user experience using AngularJS. You'll create complex interfaces using Bootstrap's grid, together with Angular's form support, backed by a materialized view for caching within Postgres. You'll get your front-end working with the Asset Pipeline, use Postgres' features from migrations, and write unit tests for all of it. All of this within Rails. You'll gain the confidence to work at every level of the application stack, bringing the right solution to every problem. What You Need: You'll need Postgres 9.4, Rails 4.2, and Ruby 2.2. You'll learn how to install Postgres on your computer or use a free version of it in the cloud. You should have some experience with basic Rails concepts and a cursory understanding of JavaScript, CSS, and SQL, but by no means need to be an expert. « less
2016
Powerful, Effective, Efficient, Full-Stack Web Development
Achieve awesome user experiences and performance with simple, maintainable code! Embrace the full stack of web development, from styling with Bootstrap, building an interactive user interface with Angular 2, to storing data quickly and reliably in PostgreSQL. With this fully revised new edition, take more » a holistic view of full-stack development to create usable, high-performing applications with Rails 5. Rails is a great tool for building web applications, but it's not the best at everything. Embrace the features built into your database. Learn how to use front-end frameworks. Seize the power of the application stack through Angular 2, Bootstrap, and PostgreSQL. When used together, these powerful and easy-to-use tools will open you to a new world of possibilities. This second edition is updated to cover Angular 2 - a completely reworked front-end framework - and dives into new Postgres 9.5 features such as UPSERT. Also new is Webpack coverage, to develop the front-end code for your Rails application. Create a usable and attractive login form using Bootstrap's styles, while ensuring the database table backing it is secure using Postgres' check constraints. See how creating an advanced Postgres index for a case-insensitive search speeds up your back end - enabling you to create a dynamic user experience using Angular 2. Create reusable components that bring Bootstrap and Angular together and effectively use materialized views for caching within Postgres. Get your front end working with Webpack, use Postgres' features from migrations, and write unit tests for all of it. All of this within Rails 5. You'll gain the confidence to work at every level of the application stack, bringing the right solution to every problem. What You Need: This book covers Postgres 9.5, Rails 5, and Ruby 2.3. You should have some experience with basic Rails concepts and a cursory understanding of JavaScript, CSS, and SQL, but by no means need to be an expert. You'll learn how to install Postgres on your computer or use a free version of it in the cloud. « less
2016
Leverage the features of TypeScript to boost your development skills and create captivating applications
ABOUT THIS BOOK * Learn how to develop modular, scalable, maintainable, and adaptable web applications by taking advantage of TypeScript * Explore techniques to use TypeScript alongside other leading tools such as Angular 2, React, and Node.js * Focusing on design patterns in TypeScript, this step-by-step more » guide demonstrates all the important design patterns in practice WHO THIS BOOK IS FOR This Learning Path is for intermediate-level JavaScript developers who want to use TypeScript to build beautiful web applications and fun projects. No prior knowledge of TypeScript is required, but a basic understanding of jQuery is expected. This Learning Path is also for experienced TypeScript developers who want to take their skills to the next level, and also for web developers who wish to make the most of TypeScript. WHAT YOU WILL LEARN * Understand the key TypeScript language features and runtime * Install and configure the necessary tools in order to start developing an application * Create object-oriented code that adheres to the SOLID principles * Develop robust applications with testing (Mocha, Chai, and SinonJS) * Apply GoF patterns in an application with a testing approach * Identify the challenges when developing an application * Migrate JavaScript codebases to TypeScript to improve your workflow * Utilize System.JS and Webpack to load scripts and their dependencies * Develop high performance server-side applications to run within Node.js IN DETAIL TypeScript is an open source and cross-platform typed superset of JavaScript that compiles to plain JavaScript that runs in any browser or any host. TypeScript adds optional static types, classes, and modules to JavaScript, to enable great tooling and better structuring of large JavaScript applications. Through this three-module learning path, you'll learn the ins-and-outs of TypeScript for building more robust software. The first module gets you started with TypeScript and helps you understand the basics of TypeScript and automation tools. Get a detailed description of function, generics, callbacks, and promises, and discover the object-oriented features and memory management functionality of TypeScript. The next module starts by explaining the current challenges when designing and developing an application and how you can solve these challenges by applying the correct design pattern and best practices. You will be introduced to low-level programming concepts to help you write TypeScript code, as well as working with software architecture, best practices, and design aspects. The final module will help you build a complete single page app with Angular 2, create a neat mobile app using NativeScript, and even build a Pac Man game with TypeScript. As if the fun wasn't enough, you'll also find out how to migrate your legacy codebase from JavaScript to TypeScript. By the end of this Learning Path, you will be able to take your skills up a notch and develop full-fledged web applications using the latest features of the TypeScript. This Learning Path combines some of the best that Packt has to offer in one complete, curated package. It includes content from the following Packt products: * Learning TypeScript by Remo H. Jansen * TypeScript Design Patterns by Vilic Vane * TypeScript Blueprints by Ivo Gabe de Wolff STYLE AND APPROACH This is a step-by-step, practical guide covering the fundamentals of TypeScript with practical examples. The end-to-end projects included in this book will give you ready-to-implement solutions for your business scenario, showcasing the depth and robustness of TypeScript. « less
2016
The Ultimate Beginners Guide with over 130 Complete Samples
2016
MongoDB, Express, AngularJS, and Node.JS
With modern tools. it is possible to create a production grade, full-stack application using HTML, CSS, and JavaScript alone. The combination of MongoDB, Express, AngularJS, and Node.js has become so popular that it has earned the title MEAN stack -- the subject of this book. This book explores the more » MEAN stack in detail. We will begin by covering Node.js, as it will lay the groundwork for all of our server-side work. You will learn how to get Node running on your local machine as well as download modules using npm. The key aspects of the Node.js programming model will also be covered. From there, we will move on to MongoDB, where you'll learn how to interact with Mongo from a Node application. You will also learn how to create, retrieve, update, and delete data from a Mongo store. After you have a solid grasp on Node and Mongo, the book will move on to the Express web server. We'll cover the basics of Express applications via topics like routes and middleware. Building on previous chapters, we will cover the integration of Node, Mongo, and Express. Our coverage of the MEAN stack will wrap up with several chapters on AngularJS. These chapters will cover Angular fundamentals like data binding, directives, controllers, routing, and services. In an effort to explore competing technologies, a slight introduction to Ember.js will also be provided. Full stack JavaScript is not fully encompassed by the MEAN stack. There is an entire ecosystem of JavaScript tools to learn about, and this book will introduce a few of them. We will cover task runners Gulp.js and Grunt.js which are extremely useful for automating mundane, repetitive tasks. We'll also cover JSHint, a linting tool used to improve code quality. Linting tools analyze source code and report potentials issues - a feature that is especially useful in non-compiled languages like JavaScript. « less
2015
Build enterprise-ready, industrial strength web applications using TypeScript and leading JavaScript frameworks
ABOUT THIS BOOK * Focus on test-driven development to help build quality applications that are modular, scalable, maintainable, and adaptable. * Practical examples that show you how to use TypeScript with popular JavaScript frameworks including Backbone, Angular, Node.js, require.js, and Marionette * more » Enhance your TypeScript knowledge with in-depth discussions on language features, third-party libraries, declaration files, and so on using practical scenarios. WHO THIS BOOK IS FOR Whether you are a JavaScript developer aiming to learn TypeScript, or an experienced TypeScript developer wanting to take your skills to the next level, this book is for you. From basic to advanced language constructs, test-driven development, and object-oriented techniques, you will learn how to get the most out of the TypeScript language. WHAT YOU WILL LEARN * Gain an insight into core and advanced TypeScript language features including inheritance and generics * Integrate your existing JavaScript code and third-party JavaScript libraries by writing and using declaration files * Write TypeScript code to target popular JavaScript frameworks such as jQuery, Backbone, Angular, Node, and Marionette * Create extensive testing suites for your application, including unit testing, integration testing, and browser automation with Jasmine and Selenium * Organize your application code using modules, and utilize Asynchronous Module Loading with require.js * Explore advanced object-oriented techniques including dependency injection and strongly typed domain events * Build a complete single-page web application with TypeScript and Marionette, incorporating object-oriented design patterns along the way IN DETAIL The TypeScript compiler and language has brought JavaScript development up to the enterprise level, yet still maintains backward compatibility with existing JavaScript browsers and libraries. Packed with practical code samples, this book brings the benefits of strongly typed, object-oriented programming and design principles into the JavaScript development space. Starting with core language features, and working through more advanced topics such as generics and modules, you will learn how to gain maximum benefit from your JavaScript development with TypeScript. With a strong focus on test-driven development and coverage of many popular JavaScript frameworks, you can fast-track your TypeScript knowledge to a professional level. By the end of this book, you will be able to confidently implement a TypeScript application from scratch. « less
2015