自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(0)
  • 资源 (55)
  • 收藏
  • 关注

空空如也

Android 6 for Programmers, AN APP-DRIVEN APPROACH THIRD EDITION (pdf)

Welcome to the dynamic world of Android smartphone and tablet app development with the Android Software Development Kit (SDK), the JavaTM programming language and the rapidly evolving Android Studio Integrated Development Environment (IDE). Many of the Android techniques we present also apply to Android Wear and Android TV app development, so after reading this book, you’ll be well prepared to investigate developing apps for these platforms. Android 6 for Programmers: An App-Driven Approach presents leading-edge mobile computing technologies for professional software developers. In our app-driven approach, we present concepts in complete working Android apps, rather than using code snippets. Chapters 2–9 each present one app. Each chapter begins with an introduction to the app, an app test-drive showing one or more sample executions and an overview of the technol- ogies we used to build the app. Then we present a detailed source-code walkthrough. All of the source code is available at http://www.deitel.com/books/AndroidFP3 We recommend that you view each app’s source code in the IDE as you read the chapter. The opportunities for Android app developers are enormous. Sales of Android devices and app downloads have been growing exponentially. The first-generation Android phones were released in October 2008. According to IDC, after the first three months of 2015, Android had 78% of the global smartphone market share, compared to 18.3% for Apple, 2.7% for Microsoft and 0.3% for Blackberry.1 Over one billion Android devices shipped in 2014 alone.2 At the 2015 Google I/O conference, Google announced that in the prior 12 months there had been 50 billion app installs from Google PlayTM—Google’s marketplace for Android apps.3 Fierce competition among popular mobile platforms and carriers is leading to rapid innovation and falling prices. In addition, competition among the hundreds of Android device manufacturers is driving hardware and software innova- tion within the

2016-05-23

MongoDB in Action 2nd Edition(pdf)

Databases are the workhorses of the information age. Like Atlas, they go largely unno- ticed in supporting the digital world we’ve come to inhabit. It’s easy to forget that our digital interactions, from commenting and tweeting to searching and sorting, are in essence interactions with a database. Because of this fundamental yet hidden func- tion, I always experience a certain sense of awe when thinking about databases, not unlike the awe one might feel when walking across a suspension bridge normally reserved for automobiles. The database has taken many forms. The indexes of books and the card catalogs that once stood in libraries are both databases of a sort, as are the ad hoc structured text files of the Perl programmers of yore. Perhaps most recognizable now as data- bases proper are the sophisticated, fortune-making relational databases that underlie much of the world’s software. These relational databases, with their idealized third- normal forms and expressive SQL interfaces, still command the respect of the old guard, and appropriately so. But as a working web application developer a few years back, I was eager to sample the emerging alternatives to the reigning relational database. When I discovered MongoDB, the resonance was immediate. I liked the idea of using a JSON-like struc- ture to represent data. JSON is simple, intuitive, and human-friendly. That MongoDB also based its query language on JSON lent a high degree of comfort and harmony to the usage of this new database. The interface came first. Compelling features like easy replication and sharding made the package all the more intriguing. And by the time I’d built a few applications on MongoDB and beheld the ease of development it imparted, I’d become a convert. Through an unlikely turn of events, I started working for 10gen, the company spearheading the development of this open source database. For two years, I’ve had the opportunity to improve various client drivers and work with numerous customers on their MongoDB deployments. The experience gained through this process has, I hope, been distilled faithfully into the book you’re reading now. As a piece of software and a work in progress, MongoDB is still far from perfection. But it’s also successfully supporting thousands of applications atop database clusters small and large, and it’s maturing daily. It’s been known to bring out wonder, even happiness, in many a developer. My hope is that it can do the same for you. This is the second edition of MongoDB in Action and I hope that you enjoy reading the book! KYLE BANKER

2016-05-12

Mobile and Web Messaging

Learn how to use messaging technologies to build responsive and resilient applications for mobile devices and web browsers. With this hands-on guide, you’ll use the STOMP and MQTT messaging protocols to write iOS and web applications capable of sending and receiving GPS and device sensor data, text messages, and alerts. Messaging protocols are not only simple to use, but also conserve network bandwidth, device memory, and batteries. Using this book’s step-by-step format, author Jeff Mesnil helps you work with Objective-C and JavaScript libraries, as well as the protocols. All you need to get started are basic programming skills.

2016-04-30

RabbitMQ in Action

DESCRIPTION There's a virtual switchboard at the heart of most large applications, where millions of messages and requests need to be routed to and from the servers, programs, and services that make up the system. RabbitMQ is an efficient, highly scalable, and easy-to-deploy queue that makes handling this message traffic virtually effortless. Offered under an open source license and language neutral, RabbitMQ integrates seamlessly into applications written in written in C++, Java, Python, Erlang, and other standard languages. RabbitMQ in Action is a fast-paced run through building and managing scalable applications using the RabbitMQ messaging server. It starts by explaining how message queuing works, its history and how RabbitMQ fits in. Then it shows real-world examples developers can apply to their own scalability and interoperability challenges. KEY POINTS * First and only complete guide to RabbitMQ * Packed with real-world examples * Covers common messaging design patterns

2016-04-29

Introducing maven pdf

Introducing Maven provides a concise introduction to Maven, the de facto standard for building, managing, and automating Java and JEE-based projects in enterprises throughout the world. The book starts by explaining the fundamental concepts of Maven and showing you how to set up and test Maven on your local machine. It then delves deeply into concepts such as dependency management, life cycle phases, plug-ins, and goals. It also discusses project structure conventions, jump-starting project creation using archetypes, and documentation and report generation. Finally, it concludes with a discussion of Nexus and Maven’s release process.

2016-04-05

Java Persistence with Mybatis 3

Java Persistence with Mybatis 3 Chapter 1, Getting Started with MyBatis, introduces MyBatis persistence framework and explains the advantages of using MyBatis instead of plain JDBC. We will also look at how to create a project, install MyBatis framework dependencies with and without the Maven build tool, configure, and use MyBatis. Chapter 2, Bootstrapping MyBatis, covers how to bootstrap MyBatis using XML and Java API-based configuration. We will also learn various MyBatis configuration options such as type aliases, type handlers, global settings, and so on. Chapter 3, SQL Mappers Using XML, goes in-depth into writing SQL mapped statements using the Mapper XML files. We will learn how to configure simple statements, statements with one-to-one, one-to-many relationships and mapping results using ResultMaps. We will also learn how to build dynamic queries, paginated results, and custom ResultSet handling. Chapter 4, SQL Mappers Using Annotations, covers writing SQL mapped statements using annotations. We will learn how to configure simple statements, statements with one-to-one and one-to-many relationships. We will also look into building dynamic queries using SqlProvider annotations. Chapter 5, Integration with Spring, covers how to integrate MyBatis with Spring framework. We will learn how to install Spring libraries, register MyBatis beans in Spring ApplicationContext, inject SqlSession and Mapper beans, and use Spring's annotation-based transaction handling mechanism with MyBatis.

2016-04-05

MongoDB in Action

MongoDB in Action PDF

2016-03-30

Spring in Action

Spring in Action, Fourth Edition is a hands-on guide to the Spring Framework, updated for version 4. It covers the latest features, tools, and practices including Spring MVC, REST, Security, Web Flow, and more. You'll move between short snippets and an ongoing example as you learn to build simple and efficient J2EE applications. Author Craig Walls has a special knack for crisp and entertaining examples that zoom in on the features and techniques you really need., Refer to link: http://www.manning.com/walls5/

2016-03-29

Docker Cookbook

About This Book, Provides practical techniques and knowledge of various emerging and developing APIs to help you create scalable services, Create, manage, and automate production-quality services while dealing with inherent issues, Each recipe is carefully organized with instructions to complete the task efficiently, Who This Book Is For, Docker Cookbook is for developers, system administrators, and DevOps engineers who want to use Docker in his/her development, QA, or production environments., It is expected that the reader has basic Linux/Unix skills such as installing packages, editing files, managing services, and so on., Any experience in virtualization technologies such as KVM, XEN, and VMware will help the reader to relate with container technologies better, but it is not required., In Detail, Docker is a Linux container engine that allows you to create consistent, stable, and production-quality environments with containers., You will start by installing Docker and understanding and working with containers and images. You then proceed to learn about network and data management for containers. The book explores the RESTful APIs provided by Docker to perform different actions such as image/container operations. Finally, the book explores logs and troubleshooting Docker to solve issues and bottlenecks. This book will also help you understand Docker use cases, orchestration, security, ecosystems, and hosting platforms to make your applications easy to deploy, build, and collaborate on.

2016-03-19

Pro Docker

In this fast-paced book on theDocker open standards platform for developing, packaging and running portable distributed applications, Deepak Vorha, discusses how to build, ship and run applications on any platform such as a PC, the cloud, data center or a virtual machine.He describes how to install and createDocker images. and the advantages off Docker containers.The remainder of thebook is devoted to discussing usingDocker with important software solutions. He begins by discussing using Docker with a traditional RDBMS using Oracle and MySQL. Nexthemoves onto NoSQL with chapter on MongoDB Cassandra, andCouchbase. Then he addresses the use of Docker in the Hadoop ecosystem with complete chapters on utilizing not only Hadoop, but Hive, HBase, Sqoop, Kafka, Solr and Spark., What You Will Learn, How to install a Docker imageHow to create a Docker containerHow to run an Application in a Docker ContainerUse Docker with Apache Hadoop EcosystemUse Docker with NoSQL DatabasesUse Docker with RDBMS, Who This Book Is For, Apache Hadoop Developers. Database developers. NoSQL Developers.

2016-03-17

PHP Solution 3rd Edition

PHP Solution 3rd Edition

2016-03-17

Learning Javascript

Get Started Fast with Modern JavaScript Web Development! With the arrival of HTML5, jQuery, and Ajax, JavaScript web development skills are more valuable than ever! This complete, hands-on JavaScript tutorial covers everything you need to know now. Using line-by-line code walkthroughs and end-of-chapter exercises, top web developer and speaker Tim Wright will help you get results fast, even if you've never written a line of JavaScript before. Smart, friendly, enthusiastic, and packed with modern examples, Learning JavaScript covers both design-level and development-level JavaScript. You'll find expert knowledge and best practices for everything from jQuery and interface design to code organization and front-end templating. Wright's focused coverage includes regular break points and clear reviews that make modern JavaScript easier to learn-and easier to use! Learning JavaScript is your fastest route to success with JavaScript-whether you're entirely new to the language or you need to sharpen and upgrade skills you first learned a decade ago! Coverage includes * Mastering all of the JavaScript concepts and terminology you need to write new programs or efficiently modify existing code * Creating robust, secure code for both the design and development levels * Maximizing usability, reusability, accessibility, clarity, security, and performance * Taking full advantage of the browser environments your code will run in * Accessing the DOM to create behaviors and data interactions * Storing data for easy and efficient access * Using variables, functions, loops, and other core language features * Interacting with users through events * Communicating with servers through Ajax * Improving your productivity with JavaScript libraries

2016-03-16

Android Recipes A Problem-solution Approach 4th Edition

Android Recipes A Problem-solution Approach 4th Edition

2016-03-10

The go programming language

The go programming language

2016-03-09

iOS9 Programming fundamentals with swift

iOS9 Programming fundamentals with swift

2016-02-01

Data analysis with R

Load, wrangle, and analyze your data using the world's most powerful statistical programming language

2016-01-26

learning docker

Optimize the power of Docker to run your applications quickly and easily

2016-01-26

iOS9 Swift Programming CookBook

Swift 2.0, Xcode 7 and Interface Builder

2016-01-16

iOS Auto Layout Demystified

Auto Layout re-imagines the way developers create user interfaces. It provides a flexible and power- ful system that describes how views and their content relate to each other and to the superviews they occupy. In contrast to older design approaches, this technology offers incredible control over layout, with a wider range of customization than you can get with frames, springs, and struts. Auto Layout has garnered both a loyal user base and fanatical detractors. Its reputation for diffi- culty and frustration, particularly when used through Interface Builder (IB), are occasionally merited. Although Xcode 5 vastly improves that situation (by doing away with several baffling and alienating features), this is a technology that continues to evolve toward full maturity. Auto Layout is a fantastic tool. It does things that earlier technologies could never dream of. From edge case handling to creation of reciprocal relationships between views, Auto Layout introduces immense power. What’s more, Auto Layout is compatible with many of Apple’s most exciting application programming interfaces (APIs), including animations, motion effects, and sprites. That’s why this book exists. You’re about to learn Auto Layout mastery by example, with plenty of explanations and tips. Instead of struggling with class documentation, you’ll read, in simple steps, how the system works, how to tweak it to make it work better, and why Auto Layout is far more powerful than many developers realize. You’ll discover common design scenarios and discover best practices that make Auto Layout a pleasure rather than a chore to use.

2015-04-14

iOS 8 Programming Fundamentals with Swift

iOS 8 Programming Fundamentals with Swift

2015-04-04

Transitions and Animations in CSS3

CSS transforms, CSS transitions, and CSS animations are three separate CSS specifi‐ cations. While the three terms sound like they may do the same thing—make some‐ thing move—CSS transitions and animations make things move over time. Transitions and animations let you define the transition between two or more states of an element.

2017-11-07

Spark Graphx in Action

Note that for the generic terms spark and graphs we had to substitute the overly spe- cific Apache Spark and edges and vertices, but the trends can still be seen. A couple of these technologies, machine learning and graphs, have long histories within academic computer science and are attracting new

2016-12-26

Big Data Analytics with Spark PDF

Big Data Analytics Spark

2016-12-12

Spark for Data Science PDF

Spark for Data Science PDF

2016-12-12

Fast Data Processing With Spark (3rd Edition) PDF

Fast Data Processing With Spark (3rd Edition) PDF

2016-12-08

Spark 2.0 for Beginners

Develop large-scale distributed data processing applications using Spark 2 in Scala and Python

2016-12-05

Learning Scala pdf

This book is meant for developers who have worked in object-oriented languages such as Java, Ruby, or Python and are interested in improving their craft by learning Scala. Java developers will recognize the core object-oriented, static typing and generic col‐ lections in Scala. However, they may be challenged to switch to Scala’s more expressive and flexible syntax, and the use of immutable data and function literals to solve prob‐ lems. Ruby and Python developers will be familiar with the use of function literals (aka closures or blocks) to work with collections, but may be challenged with its static, generic-supporting type system. For these and any other developers who want to learn how to develop in the Scala programming language, this book provides an organized and examples-based guide that follows a gradual learning curve.

2016-11-26

Learning Apache Kafka 2nd Edition

This book is here to help you get familiar with Apache Kafka and to solve your challenges related to the consumption of millions of messages in publisher-subscriber architectures. It is aimed at getting you started programming with Kafka so that you will have a solid foundation to dive deep into different types of implementations and integrations for Kafka producers and consumers. In addition to an explanation of Apache Kafka, we also spend a chapter exploring Kafka integration with other technologies such as Apache Hadoop and Apache Storm. Our goal is to give you an understanding not just of what Apache Kafka is, but also how to use it as a part of your broader technical infrastructure. In the end, we will walk you through operationalizing Kafka where we will also talk about administration.

2016-11-25

Mastering Apache Spark

Big data is getting bigger and bigger day by day. And I don't mean tera, peta, exa, zetta, and yotta bytes of data collected all over the world every day. I refer to complexity and number of components utilized in any decent and respectable big data ecosystem. Never mind the technical nitties gritties—just keeping up with terminologies, new buzzwords, and hypes popping up all the time can be a real challenge in itself. By the time you have mastered them all, and put your hard- earned knowledge to practice, you will discover that half of them are old and inef cient, and nobody uses them anymore. Spark is not one of those "here today, gone tomorrow" fads. Spark is here to stay with us for the foreseeable future, and it is well worth to get your teeth into it in order to get some value out of your data NOW, rather than in some, errr, unforeseeable future. Spark and the technologies built on top of it are the next crucial step in the big data evolution. They offer 100x faster in-memory, and 10x on disk processing speeds in comparison to the traditional Hadoop jobs. There's no better way of getting to know Spark than by reading this book, written by Mike Frampton, a colleague of mine, whom I rst met many, many years ago and have kept in touch ever since. Mike's main professional interest has always been data and in pre-big data days, he worked on data warehousing, processing, and analyzing projects for major corporations. He experienced the inef ciencies, poor value, and frustrations that the traditional methodologies of crunching the data offer rst hand. So understanding big data, what it offers, where it is coming from, and where it is heading, and is intrinsically intuitive to him. Mike wholeheartedly embraced big data the moment it arrived, and has been devoted to it ever since. He practices what he preaches, and is not in it for money. He is very active in the big data community, writes books, produces presentations on SlideShare and YouTube, and is always rst to test-drive the new, emerging products. Mike's passion for big data, as you will nd out, is highly infectious, and he is always one step ahead, exploring the new and innovative ways big data is used for. No wonder that in this book, he will teach you how to use Spark in conjunction with the very latest technologies; some of them are still in development stage, such as machine learning and Neural Network. But fear not, Mike will carefully guide you step by step, ensuring that you will have a direct, personal experience of the power and usefulness of these technologies, and are able to put them in practice immediately.

2016-11-23

Pro Spark Streaming,The Zen of Real-time Analytics using Apache Spark

One million Uber rides are booked every day, 10 billion hours of Netflix videos are watched every month, and $1 trillion are spent on e-commerce web sites every year. The success of these services is underpinned by Big Data and increasingly, real-time analytics. Real-time analytics enable practitioners to put their fingers on the pulse of consumers and incorporate their wants into critical business decisions. We have only touched the tip of the iceberg so far. Fifty billion devices will be connected to the Internet within the next decade, from smartphones, desktops, and cars to jet engines, refrigerators, and even your kitchen sink. The future is data, and it is becoming increasingly real-time. Now is the right time to ride that wave, and this book will turn you into a pro. The low-latency stipulation of streaming applications, along with requirements they share with general Big Data systems—scalability, fault-tolerance, and reliability—have led to a new breed of real- time computation. At the vanguard of this movement is Spark Streaming, which treats stream processing as discrete microbatch processing. This enables low-latency computation while retaining the scalability and fault-tolerance properties of Spark along with its simple programming model. In addition, this gives streaming applications access to the wider ecosystem of Spark libraries including Spark SQL, MLlib, SparkR, and GraphX. Moreover, programmers can blend stream processing with batch processing to create applications that use data at rest as well as data in motion. Finally, these applications can use out-of-the- box integrations with other systems such as Kafka, Flume, HBase, and Cassandra. All of these features have turned Spark Streaming into the Swiss Army Knife of real-time Big Data processing. Throughout this book, you will exercise this knife to carve up problems from a number of domains and industries. This book takes a use-case-first approach: each chapter is dedicated to a particular industry vertical. Real-time Big Data problems from that field are used to drive the discussion and illustrate concepts from Spark Streaming and stream processing in general. Going a step further, a publicly available dataset from that field is used to implement real-world applications in each chapter. In addition, all snippets of code are ready to be executed. To simplify this process, the code is available online, both on GitHub1 and on the publisher’s web site. Everything in this book is real: real examples, real applications, real data, and real code. The best way to follow the flow of the book is to set up an environment, download the data, and run the applications as you go along. This will give you a taste for these real-world problems and their solutions. These are exciting times for Spark Streaming and Spark in general. Spark has become the largest open source Big Data processing project in the world, with more than 750 contributors who represent more than 200 organizations. The Spark codebase is rapidly evolving, with almost daily performance improvements and feature additions. For instance, Project Tungsten (first cut in Spark 1.4) has improved the performance of the underlying engine by many orders of magnitude. When I first started writing the book, the latest version of Spark was 1.4. Since then, there have been two more major releases of Spark (1.5 and 1.6). The changes in these releases have included native memory management, more algorithms in MLlib, support for deep learning via TensorFlow, the Dataset API, and session management. On the Spark Streaming front, two major features have been added: mapWithState to maintain state across batches and using back pressure to throttle the input rate in case of queue buildup.2 In addition, managed Spark cloud offerings from the likes of Google, Databricks, and IBM have lowered the barrier to entry for developing and running Spark applications. Now get ready to add some “Spark” to your skillset!

2016-11-16

Creating Dynamic UIs With Android Fragments ,2nd Edition

Long gone are the days of mobile apps with a static UI squished on a tiny screen. Today's users expect mobile apps to be dynamic and highly interactive. They expect an app to look fantastic when they look at it on their medium resolution smartphone and just as fantastic when they switch over to using it on their high-resolution tablet. Apps need to provide rich navigation features, be adaptive, and be responsive. Trying to meet these demands using Android's traditional activity-centric UI design model is dif cult at best. As developers, we need more control than that afforded by activities. We need a new approach, and fragments give us this new approach. In this book, you'll learn how to use fragments to meet the challenges of creating dynamic UIs in the modern world of mobile app development.

2016-07-07

Beginning jQuery (pdf)

jQuery tends to be an easy library for many developers and designers to learn, but the danger comes when they start to feel friction with the actual JavaScript language, not the jQuery library. Jack appreciates this friction and tries to alleviate that roadblock for his readers. Jack gives a good overview of the main topics that jQuery covers and provides numerous code examples and snippets for his readers to grasp. I personally nd that the technical books I most enjoy reading are ones that have code sprinkled here and there so that I can fully grasp the concepts explained in the prose. jQuery is a fast-evolving library and new versions come out frequently. As a result, new features are added and others are deprecated from version to version. If you are new to jQuery or need a quick refresher, this book will navigate you toward the appropriate API methods and techniques you’ll need to become pro cient with the jQuery library.

2016-06-16

AngularJS by Example (pdf)

What this book covers Chapter 1, Getting Started, introduces you to the AngularJS framework. We create a super simple app in AngularJS that highlights some core features of the framework. Chapter 2, Building Our First App – 7 Minute Workout, will teach us how to build our rst real AngularJS app. In the process, we learn more about the framework's MVC constructs and are introduced to scopes and binding capabilities of the framework. We learn about code organization using modules and dependency injection, look at view routing in action, and learn how to use lters. Chapter 3, More AngularJS Goodness for 7 Minute Workout, focuses on adding the bells and whistles to the 7 Minute Workout app and in the process touches upon into some new Angular capabilities. This chapter covers Angular services, digest cycles, animation support, lters and few other concepts. Chapter 4, Building Personal Trainer, introduces a new exercise where we morph 7 Minute Workout into a generic Personal Trainer app. The new app has the capability to create new workout plans other than the original 7 Minute Workout app. In this chapter, we exclusively focus on AngularJS form capabilities. Chapter 5, Adding Data Persistence to Personal Trainer, covers retrieving and saving data to the server. We augment our Personal Trainer with data load and data persistence capabilities. Server interaction and data persistence have been ignored in all the previous chapters. Chapter 6, Working with Directives, explains directives by building some of our own custom directives for the Personal Trainer app. Directives are the most powerful and most misunderstood feature of AngularJS. Chapter 7, Testing the AngularJS App, highlights how to use the AngularJS testing constructs within Personal Trainer as AngularJS was built with testability in mind. Chapter 8, Handling Common Scenarios, provides some practical tips and guidance around scenarios that we might encounter while developing apps on this framework. We will cover scenarios such as structuring the app for complex views, inter controller/directive communication, common framework pitfalls, authentication and authorization, code organization for large size apps, and other similar scenarios.

2016-06-15

Bootstrap Essentials (pdf)

As the number of Internet users on mobile devices is growing every moment, your websites are no longer built only for the desktop machines. The mobile- rst philosophy demands the sites to be fully compatible for all available and future mobile devices. Bootstrap allows and easily enables you to design and develop your websites congenial to all devices including various screen readers. We have until now developed your websites using all those manual CSS classes and quite a number of various JavaScript libraries. Delivering the desired results and upgrading your websites has traditionally been quite a challenge. Mobile devices coming into the picture has made the task even more dif cult. Bootstrap comes to your rescue here – providing all you need including CSS classes and JavaScript components in a single package. This book covers all the theoretical and practical aspects of Bootstrap and makes you a pro cient web developer for the mobile world. You will be able to download, include, and con gure Bootstrap in your web project. You will understand the internal architecture and structure of Bootstrap and get fully familiar with the usage of Bootstrap CSS and components and become apprised of the JavaScript objects offered by Bootstrap. You will also be able to build and compile Bootstrap from the source code, and nally customize and extend to suit your requirements.

2016-06-14

jQuery 2.0 Development Cookbook

jQuery 2.0 Development Cookbook will provide you with many reusable code recipes to create common and unique website and web application elements, plugins, and interfaces using the most popular client-side framework, jQuery. Following the step-by-step instructions for each of the recipes will not only provide you with useable code, but also the understanding needed to extend and improve on it.

2016-06-04

Beginning CSS3 (pdf)

CSS3 is the latest version of Cascading Style Sheets, the language that in the hands of a skilled designer turns the ugly duckling of unadorned HTML into the gracious swan of a sophisticated web page. Some web designers will tell you dismissively that CSS3 won’t be ready for years. In one sense, they’re right. Instead of one massive speci cation, CSS3 has been broken up into more than 40 modules, some of which are unlikely to gain formal approval for a long time. But the rst modules are already complete, while others have reached a high level of stability and are widely implemented by browsers. What’s more, CSS3 embraces the whole of the previous version, CSS2.1, a formal standard that’s supported by all browsers in widespread use. is book covers not only the new parts of CSS3, but also those inherited from CSS2.1. Even ancient browsers, such as Internet Explorer (IE) 6 and 7, support most of CSS2.1. So, you’ll nd large parts of this book relevant even if you still need to support older browsers. Because CSS is constantly evolving, this book inevitably represents a snapshot in time (August 2012). But I’ve tried to structure the content in such a way that it will remain relevant even when new modules begin to mature. New modules will add extra features rather than supersede what’s covered in this book. In addition to all the visual properties of CSS2.1, it covers stable features from the following CSS3 modules: CSS3 Selectors CSS3 Color CSS3 Values and Units Media Queries (for responsive web design) CSS3 Backgrounds and Borders CSS3 Text CSS3 Fonts CSS3 Image Values and Replaced Content (gradients) CSS Multi-column Layout CSS Transforms CSS Transitions CSS Animations CSS Flexible Box Layout

2016-05-30

Mastering Concurrency in Go (PDF)

I just love new programming languages. Perhaps it's the inevitable familiarity and ennui with regard to existing languages and the frustration with existing tools, syntaxes, coding conventions, and performance. Maybe I'm just hunting for that one "language to rule them all". Whatever the reason, any time a new or experimental language is released, I have to dive right in. This has been a golden age for new languages and language design. Think about it: the C language was released in the early 1970s—a time when resources were so scarce that verbosity, clarity, and syntactical logic were often eschewed for thrift. And most of the languages we use today were either originally written in this era or were directly in uenced by those languages. Since the late 1980s and early 1990s, there has been a slow ood of powerful new languages and paradigms—Perl, Python, Ruby, PHP, and JavaScript—have taken an expanding user base by storm and has become one of the most popular languages (up there with stalwarts such as C, C++, and Java). Multithreading, memory caching, and APIs have allowed multiple processes, dissonant languages, applications, and even separate operating systems to work in congress. And while this is great, there's a niche that until very recently was largely unserved: powerful, compiled, cross-platform languages with concurrency support that are geared towards systems programmers.

2016-05-29

Asynchronous Android (pdf)

Programming is the most fun a person can have on their own. This is a fact well-known to programmers, though it seems the rest of the world is yet to catch on. You already know this or you wouldn't be reading this book, but it constantly amazes me that more people aren't falling over themselves to learn to code. Meanwhile, mobile devices have made computers fun even for non-coders. We carry in our pockets small machines with incredible processing power and a giddying array of sensors and interfaces. Android takes these fun machines and makes them accessible to programmers through a fabulously well-crafted platform and tool chain, in a programming language that has stood the test of time yet continues to develop and evolve. What could possibly be better than programming fun machines to do cool things, in a powerful language, on a well-crafted platform, with a world-class tool chain? For me, the answer is doing so with a good enough understanding of those things to make the difference between a good app and a great one. There are many things that must come together to make a great app. You need a great idea—I can't help you there. You need a pretty user interface—sorry, wrong book. You need a great user experience—aha! Now we're getting somewhere. Among the many things that contribute to a great user experience, responsiveness is right up there near the top of the list. It's easiest to de ne responsiveness with examples of its lack: pauses and glitches while scrolling content, user interfaces that freeze while loading data from storage, applications that don't give progress updates to let us know what's happening, failing to complete work that we initiated, staring at a spinner while data is fetched from the network, and the list goes on. This book is about making the difference between a good app and a great one; smoothing out the glitches, keeping the UI responsive, telling the user how things are going, making sure we nish what we started, using those powerful multicore processors, and doing it all without wasting the battery. Let's have some fun! What this book covers Chapter 1, Building Responsive Android Applications, gives an overview of the Android process and thread model, and describes some of the challenges and bene ts of concurrency in general, before discussing issues speci c to Android. Chapter 2, Staying Responsive with AsyncTask, covers the poster child of concurrent programming in Android. We learn how AsyncTask works, how to use it correctly, and how to avoid the common pitfalls that catch out even experienced developers. Chapter 3, Distributing Work with Handler and HandlerThread, details the fundamental and related topics of Handler, HandlerThread, and Looper, and illustrates how they can be used to schedule tasks on the main thread, and to coordinate and communicate work between cooperating background threads. Chapter 4, Asynchronous I/O with Loader, introduces the Loader framework and tackles the important task of loading data asynchronously to keep the user interface responsive and glitch free. Chapter 5, Queuing Work with IntentService, gives us the means to perform background operations beyond the scope of a single Activity lifecycle and to ensure that our work is completed even if the user leaves the application. Chapter 6, Long-running Tasks with Service, extends the capabilities we discovered with IntentService and gives us control over the level of concurrency applied to our long-running background tasks. Chapter 7, Scheduling Work with AlarmManager, completes our toolkit by enabling us to arrange for work to be done far into the future and on repeating schedules. It also enables us to build apps that alert users to new content and start instantly with fresh data.

2016-05-24

Learning Material Design (pdf)

Welcome to Learning Material Design, a comprehensive guide to the latest and hottest design philosophy for mobile and web applications. More than just a design language, Material Design represents a powerful shift in how modern digital interfaces look and behave. Based largely on traditional design principles, Material Design brings a tactile look and feel to apps and pages, giving screen elements physical properties such as uid, realistic motion and the ability to depict a third dimension using shadows. Covering all major design principles and guidelines and including enough of the technologies and code required to implement them, the book is designed so that you can get started with building your own material interfaces from the very beginning. All the commonly used material components, such as cards and sliding drawers, are covered in terms of both design guidelines and code structures. This element-speci c approach is coupled with details on how Material Design can be applied to interfaces in general, and how to use these guidelines to create material transitions and navigation processes. Although concentrating largely on mobile interface design and using the powerful Android Studio development environment, the latter part of the book focuses on how the principles learned earlier can be just as easily applied to designs of web and desktop interfaces with a number of helpful and simple-to-use CSS frameworks, particularly Materialize and Material Design Lite. This book is only the beginning of a journey into what may well become one of the most persistent digital design paradigms we have yet seen. But by the end, you will have learned not only the design theory behind materials, but also enough of technical know-how to put what you have learned into practice and be in a position to create or convert Material Design applications on your own. What this book covers Chapter 1, Getting Started with Material Design, introduces some of the basic precepts of Material Design, but concentrates largely on how to set up a development environment and create a simple "Hello World" app. This includes an introduction to the material theme and palette. Chapter 2, Building a Mobile Layout, is where we concentrate on some fundamental processes in designing an Android interface, such as the content hierarchy and how components are positioned and scaled within it. The second portion of this chapter covers support libraries and how these can help us make Material Design backward compatible. Chapter 3, Common Components, covers the most frequently used mobile material components, such as app bars, menus, and modal dialogs, along with the creation of action icons for menus. Chapter 4, Sliding Drawers and Navigation, explains the typical material navigation techniques, in particular, the navigation menu and sliding drawers. Chapter 5, Lists, Cards, and Data, is where we see how the recycler view can be used to organize data in the form of a list, and how separate elds of mixed media can be applied to the card view widget. Chapter 6, Animations and Transitions, covers transition from one screen to another, including hide and reveal animations and how components that are shared across screens are animated. Chapter 7, Material on Other Devices, is where we look at how Material Design is applied to the Android TV and Wear platforms. Chapter 8, Material Web Frameworks, takes us on a brief tour of one of the most commonly used technologies for applying Material Design to web pages. This is done using ready-made CSS and JavaScript frameworks. Chapter 9, The Materialize Framework, delves deeper into the Materialize web frameworks, demonstrating how common components, animations, and navigation are achieved. Chapter 10, Material Design Lite, is the nal chapter. It covers the most popular material framework—Material Design Lite. As in the previous chapter, we explore the most commonly used components and features.

2016-05-19

Android Application Development Cookbook 2nd Edition (pdf)

Android was rst released in 2007 after being acquired by Google, Inc. Initially, Android was primarily used on a handset. Android 3.0 added features to take advantage of the growing tablet market. In 2014, Google announced that Android had over 1 billion active users! With over 1 million applications available on Google Play, there's never been a more exciting time to join the Android community! As we begin 2016, we have the recently released Android 6.0 with exciting new features for both users and developers. Chapter 1, Activities, discusses Activities, which represent the fundamental building blocks for most applications. See examples of the most common tasks, such as creating an activity and passing control from one activity to another. Chapter 2, Layouts, talks about Layout options; while Activities are fundamental to the UI, the layout actually de nes what the user sees on the screen. Learn the main layout options available and best practices. Chapter 3, Views, Widgets, and Styles, explores the basic UI object, from which all layouts are built. Widgets include everything from buttons and textboxes to more complicated NumberPicker and Calendar dialogs. Chapter 4, Menus, teaches you how to use menus in Android. Learn how to create menus and how to control their behavior at runtime. Chapter 5, Exploring Fragments, AppWidgets, and the System UI, shows how to create more exible user interfaces by reusing UI components with Fragments. Take advantage of new OS features with translucent system bars or even make the System UI go away completely with Immersive Mode. Chapter 6, Working with Data, helps you discover multiple methods that Android offers for persisting data, and know when it is the best to use each option. The Loader class example shows an ef cient solution to present the data without tying up the UI Thread. Chapter 7, Alerts and Noti cations, shows multiple options for displaying noti cations to your users. Options range from alerts in your application, using the system noti cation, and the Heads Up noti cation. Chapter 8, Using the Touchscreen and Sensors, helps you learn the events for handling the standard user interactions, such as button clicks, long presses, and gestures. Access the device hardware sensors to determine orientation changes, device movement, and compass bearing. Chapter 9, Graphics and Animation, helps you bring your app to life with animations! Take advantage of the many options Android offers for creating animations—from simple bitmaps to custom property animations. Chapter 10, A First Look at OpenGL ES, discusses the OpenGL; when you need high-performance 2D and 3D graphics, turn to the Open Graphics library. Android supports OpenGL, a cross-platform Graphics API. Chapter 11, Multimedia, takes advantage of the hardware features for playing audio. Use Android intents to call the default camera application or delve into the camera APIs to control the camera directly. Chapter 12, Telephony, Networks, and the Web, uses the Telephony functions to initiate a phone call and to listen for incoming phone events. See how to send and receive SMS (text) messages. Use the WebView in your application to display web pages and learn how to use Volley to communicate directly with web services. Chapter 13, Getting Location and Using Geofencing, shows you how to determine the user's location and the best practices so your app doesn't drain the battery. Use the new Location APIs to receive location updates and create Geofences. Chapter 14, Getting Your App Ready for the Play Store, helps you polish your app for the Play Store and learn how to implement more advanced features, such as alarms and AsyncTask for background processing. See how to add Google Cloud Messaging (push noti cation) to your app and take advantage of Google Sign-in. Chapter 15, The Backend as a Service Options, explores what a Backend as a Service provider can offer your app. Compare several top providers offering native Android support and free subscription options.

2016-05-19

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除