Ebooki
1657
Ebook

Angular Services

Sohail Salehi

A primary concern with modern day applications is that they need to be dynamic, and for that, data access from the server side, data authentication, and security are very important. Angular leverages its services to create such state-of-the-art dynamic applications.This book will help you create and design customized services, integrate them into your applications, import third-party plugins, and make your apps perform better and faster. This book starts with a basic rundown on how you can create your own Angular development environment compatible with v2 and v4. You will then use Bootstrap and Angular UI components to create pages. You will also understand how to use controllers to collect data and populate them into NG UIs. Later, you will then create a rating service to evaluate entries and assign a score to them. Next, you will create cron jobs in NG. We will then create a crawler service to find all relevant resources regarding a selected headline and generate reports on it. Finally, you will create a service to manage accuracy and provide feedback about troubled areas in the app created.This book is up to date for the 2.4 release and is compatible with the 4.0 release as well, and it does not have any code based on the beta or release candidates.

1658
Ebook

Angular UI Development with PrimeNG. Build rich UI for Angular applications using PrimeNG

PrimeNG is a leading UI component library for Angular applications with 80+ rich UI components. PrimeNG was a huge success in the Angular world and very quickly. It is a rapidly evolving library that is aligned with the last Angular release. In comparison with competitors, PrimeNG was created with enterprise applications in mind. This book provides a head-start to help readers develop real–world, single-page applications using the popular development stack.This book consists of 10 chapters and starts with a short introduction to single-page applications. TypeScript and Angular fundamentals are important first steps for subsequent PrimeNG topics. Later we discuss how to set up and configure a PrimeNG application in different ways as a kick-start. Once the environment is ready then it is time to learn PrimeNG development, starting from theming concepts and responsive layouts. Readers will learn enhanced input, select, button components followed by the various panels, data iteration, overlays, messages and menu components. The validation of form elements will be covered too. An extra chapter demonstrates how to create map and chart components for real-world applications. Apart from built-in UI components and their features, the readers will learn how to customize components to meet their requirements.Miscellaneous use cases are discussed in a separate chapter, including: file uploading, drag and drop, blocking page pieces during AJAX calls, CRUD sample implementations, and more. This chapter goes beyond common topics, implements a custom component, and discusses a popular state management with @ngrx/store. The final chapter describes unit and end-to-end testing. To make sure Angular and PrimeNG development are flawless, we explain full-fledged testing frameworks with systematic examples. Tips for speeding up unit testing and debugging Angular applications end this book.The book is also focused on how to avoid some common pitfalls, and shows best practices with tips and tricks for efficient Angular and PrimeNG development. At the end of this book, the readers will know the ins and outs of how to use PrimeNG in Angular applications and will be ready to create real- world Angular applications using rich PrimeNG components.

1659
Ebook

Angular w akcji

Jeremy Wilken

Framework Angular od wielu lat jest jednym z najważniejszych narzędzi do rozwijania średnich i dużych aplikacji internetowych. Co istotne, aplikacje te bez problemu działają w każdej nowoczesnej przeglądarce, a także na platformach mobilnych. Obecnie Angular jest dojrzałą, stabilną i wciąż ewoluującą technologią, a w kolejnych wydaniach frameworka pojawiają się nowe, ułatwiające pracę funkcje. Aplikacje napisane w Angularze opierają się na hierarchicznym systemie komunikujących się komponentów i na dobrze zbudowanych interfejsach API. Przejrzystość i zrozumiałe zasady rządzące tym systemem sprawiają, że nauka posługiwania się Angularem przychodzi szybko i jest bardzo satysfakcjonująca. Ta książka jest przeznaczona dla programistów, którzy chcą możliwie szybko zacząć budować poprawne aplikacje w Angularze i bezproblemowo uruchamiać je w środowisku produkcyjnym. Podręcznik został napisany w sposób, który pozwala na natychmiastowe rozpoczęcie kodowania i zrozumienie - niemal mimochodem - tak zaawansowanych technik jak testowanie, wstrzykiwanie zależności czy regulowanie wydajności. W książce położono nacisk na korzystanie z TypeScriptu i ES2015 oraz na tworzenie poprawnego kodu zgodnie z najlepszymi praktykami. Nie zabrakło licznych wskazówek i opisu nieoczywistych, ale bardzo pomocnych technik pracy. Dzięki temu szybko wykorzystasz potencjał Angulara do pisania wydajnych, odpornych i bezpiecznych aplikacji! Najważniejsze zagadnienia: Przegląd architektury Angulara i jego funkcji Zasady tworzenia aplikacji w Angularze Komponenty i interakcje między nimi Usługi, wstrzykiwanie zależności i wzorce nawigacyjne Testowanie, debugowanie i wdrażanie aplikacji Oto Angular: ambitne narzędzie dla profesjonalistów!

1660
Ebook

AngularJS

Shyam Seshadri, Brad Green

Poznaj możliwości AngularJS! AngularJS to hit ostatnich miesięcy w aplikacjach internetowych, wniósł bowiem do kodu JavaScript powiew świeżości oraz najlepsze praktyki znane z innych języków programowania. Architektura MVC, wstrzykiwane zależności, wiązanie danych to tylko niektóre z cech AngularJS. Jeżeli zaintrygowały Cię jego możliwości i chciałbyś zgłębić potencjał tego rozwiązania, to trafiłeś na doskonałą książkę! Napisana przez inżynierów Google, pracujących na co dzień przy AngularJS, zawiera najświeższe informacje z pierwszej ręki. Sięgnij po nią i przekonaj się, jak szybko stworzyć łatwą w utrzymaniu aplikację, korzystającą z nowoczesnych wzorców, komunikującą się wydajnie z serwerem oraz pokrytą automatycznymi testami. Zdobędziesz wiedzę na temat dyrektyw, kontrolerów oraz szablonów. Ponadto przekonasz się, jak tworzyć aplikacje wspierające wiele języków narodowych oraz w jaki sposób radzić sobie z ciasteczkami (cookies). Książka ta jest doskonałą lekturą dla wszystkich osób chcących dzięki AngularJS zmienić swoje podejście do tworzonego kodu JavaScript. Poznaj komponenty tworzące framework AngularJS i zobacz, jak ze sobą współdziałają. Zapewnij sobie maksymalną elastyczność przez separację logiki, danych i prezentacji zgodnie ze wzorcem MVC. Przygotuj pełną aplikację działającą w przeglądarce internetowej wykorzystując do tego szablony po stronie klienta. Korzystaj z dyrektyw AngularJS w celu rozszerzenia HTML za pomocą składni deklaracyjnej. Prowadź komunikację z serwerem i zaimplementuj proste buforowanie za pomocą usługi $http. Wykorzystaj wstrzykiwanie zależności, aby w ten sposób poprawić refaktoring, przeprowadzanie testów oraz zapewnić możliwość tworzenia projektu dla wielu środowisk. Poznaj przykładowe fragmenty kodu dla najczęściej spotykanych problemów podczas tworzenia aplikacji sieciowych. Twój przewodnik po świecie AngularJS!   „Ta książka stanowi doskonałe wprowadzenie do AngularJS. Zawiera informacje o właściwej strukturze aplikacji AngularJS, a także zapewnia dobre wsparcie we wszystkich aspektach API AngularJS.” Miško Hevery, starszy informatyk w Google i ojciec AngularJS „Jeżeli wiedzę z zakresu AngularJS miałbym przelać z mojej głowy na papier, wówczas przyjęłaby ona postać tej książki. Jedynie nie byłaby tak dobrze zorganizowana i nie miałaby ryby na okładce.” Igor Minar, specjalista AngularJS

1661
Ebook
1662
Ebook

AngularJS Directives Cookbook. Extend the capabilities of AngularJS and build dynamic web applications

Fernando Monteiro, Jan Carlo Viray, Dror Elovits, Juri Strumpflohner, ...

AngularJS directives are at the center of what makes it such an exciting – and important - web development framework. With directives, you can take greater control over HTML elements on your web pages – they ‘direct’ Angular’s HTML compiler to behave in the way you want it to. It makes building modern web applications a much more expressive experience, and allows you to focus more closely on improving the way that user interaction impacts the DOM and the way your app manages data. If you’re already using Angular, you probably recognize the power of directives to transform the way you understand and build your projects – but customizing and creating your own directives to harness AngularJS to its full potential can be more challenging. This cookbook shows you how to do just that – it’s a valuable resource that demonstrates how to use directives at every stage in the workflow. Packed with an extensive range of solutions and tips that AngularJS developers shouldn’t do without, you’ll find out how to make the most of directives. You’ll find recipes demonstrating how to build a number of different user interface components with directives, so you can take complete control over how users interact with your application. You’ll also learn how directives can simplify the way you work by creating reusable directives – by customizing them with Yeoman you can be confident that you’re application has the robust architecture that forms the bedrock of the best user experiences. You’ll also find recipes that will help you learn how to unit test directives, so you can be confident in the reliability and performance of your application.Whether you’re looking for guidance to dive deeper into AngularJS directives, or you want a reliable resource, relevant to today’s web development challenges, AngularJS Directives Cookbook delivers everything you need in an easily accessible way.

1663
Ebook

AngularJS: Maintaining Web Applications. Learn AngularJS and full-stack web development

Amos Q. Haviv, Rodrigo Branas, Matthew Frisbie, Chandermani Arora

The AngularJS course is a journey to help you improve and scale your current web applications with the existing version of Angular without having to worry about migration to Angular 2. The course is divided into four modules. The first part—AngularJS Essentials is like a practical guide, filled with many step-by-step examples that will lead you through the best practices of AngularJS. After a brief introduction, you will learn how to create reusable components with directives. You will then take a look at many data handling techniques, discover a complete set of technologies that are capable to accomplish any challenge related to present, transform, and validate data on the user's interface. Finally, you will discover the best way to deal with the scope and how to break up the application into separate modules, giving rise to reusable and interchangeable libraries.With this you've crossed a milestone and are about to enter the world of learning by example. In the next part—Learning AngularJS By Example, you will learn how to effectively build apps using the AngularJS platform. You will be building multiple apps on this platform ranging from simple ones to more complex ones. In this module, you will roll up your coding sleeves and create a serious AngularJS application by example – a rich featured workout app. Take the coding a step at a time at first, then once you’re coding a full app in this module, a lot of AngularJS will fall right into place for you.The third module—AngularJS Web Application Development Cookbook, will get you accustomed to the AngularJS concept armed with a solid understanding of how it works, insight into the best ways to wield it in real-world applications, and annotated code examples. It is a rich library of AngularJS coding solutions that you can use straight away in your own code projects.You are just a step away from completing this learning path of AngularJS. The name of the next part—MEAN Web Development itself assures that you are nearing the destination. The idea is simple with this part, you'll take MongoDB as the database, Express as the web framework, AngularJS as the frontend framework, and Node.js as the platform, and combine them together in a modular approach that will ensure the flexibility needed in modern software development. This is also your graduation to full-stack web development, which can open many new coding and career opportunities for you!

1664
Ebook

AngularJS. Pierwsze kroki

Arkadiusz Kalbarczyk, Dariusz Kalbarczyk

Poznaj AngularJS i najnowsze trendy w tworzeniu aplikacji internetowych! Dowiedz się, jak działa AngularJS Naucz się stosować wzorzec MVC w aplikacjach internetowych Poznaj w praktyce nowoczesne sposoby tworzenia aplikacji SPA AngularJS jest frameworkiem MVC napisanym w JavaScripcie. Ta stworzona przez Google’a technologia daje programistom ogromne możliwości, a w ciągu ostatnich dwóch lat dla wielu firm stała się standardem przy tworzeniu aplikacji sieciowych. O jej popularności najlepiej świadczą pojawiające się jak grzyby po deszczu oferty pracy dla programistów AngularJS. Każdy, kto poważnie myśli o tworzeniu aplikacji dla sieci, powinien poznać cechy tego frameworka, jego zalety oraz ograniczenia. Jeśli i Ty chciałbyś rozpocząć przygodę z AngularJS i w pełni korzystać z opcji oferowanych przez JavaScript, sięgnij po tę książkę! Dowiesz się z niej, jak szybko i sprawnie tworzyć dynamiczne, łatwe w utrzymaniu aplikacje internetowe działające po stronie klienta. Poznasz praktyczne przykłady, które pomogą Ci zrozumieć prezentowany materiał, a także nauczysz się samodzielnie pisać wydajny kod z wykorzystaniem AngularJS, zaś dzięki podsumowującym każdy rozdział pytaniom kontrolnym skutecznie utrwalisz zdobyte wiadomości. Podstawy AngularJS i środowisko pracy dewelopera Wzorzec MVC w aplikacjach internetowych SPA Modularyzacja i wstrzykiwanie zależności Dyrektywy, filtry i funkcje Sposoby komunikacji z serwerem Dobre praktyki w stosowaniu AngularJS Testowanie aplikacji internetowych Naucz się obsługi nowego frameworka! * Książka opisuje wersję 1.4.x.