Category: Programming

  • CouchDB: The Definitive Guide: Time to Relax

    By J. Chris Anderson, Jan Lehnardt, Noah Slater


    Three of CouchDB's creators assist you use this document-oriented database as a standalone program framework or with high-volume, allotted purposes. With its easy version for storing, processing, and gaining access to info, CouchDB is perfect for net purposes that deal with large quantities of loosely dependent information. That on my own may stretch the boundaries of a relational database, but CouchDB deals an open resource answer that's trustworthy, scales simply, and responds speedy.
    CouchDB works with self-contained facts that has free or ad-hoc connections. It's a version that matches many real-world goods, reminiscent of contacts, invoices, and receipts, yet you'll notice that this database can simply deal with info of any type. With this publication, you'll how to paintings with CouchDB via its RESTful net interface, and get to grips with key good points similar to basic rfile CRUD (create, learn, replace, delete), complex MapReduce, deployment tuning, and extra. * comprehend the fundamentals of document-oriented garage and manipulation * engage with CouchDB solely notwithstanding HTTP utilizing its RESTful interface * version info as self-contained JSON files * deal with evolving info schemas clearly * question and combination information in CouchDB utilizing MapReduce perspectives * mirror facts among nodes * music CouchDB for elevated functionality and reliability
    Show description

  • Learning Ruby

    By Michael James Fitzgerald

    You shouldn't have to understand every little thing a few automobile to force one, and also you needn't recognize every little thing approximately Ruby to begin programming with it. Written for either skilled and new programmers alike, Learning Ruby is a just-get-in-and-drive booklet -- a hands-on instructional that gives plenty of Ruby courses and allows you to understand how and why they paintings, barely enough to get you rolling down the road.

    Interest in Ruby stems from the recognition of Rails, the net improvement framework that is attracting new devotees and refugees from Java and personal home page. yet there are many different makes use of for this flexible language. tips to study is to simply test the code! you can find examples on approximately each web page of this publication that you should imitate and hack. in brief, this book:

    • Outlines a number of the most vital beneficial properties of Ruby
    • Demonstrates find out how to use conditionals, and the way to govern strings in Ruby. contains a part on average expressions
    • Describes tips to use operators, simple math, capabilities from the mathematics module, rational numbers, etc.
    • Talks you thru Ruby arrays, and demonstrates hashes in detail
    • Explains the right way to approach documents with Ruby
    • Discusses Ruby sessions and modules (mixins) intimately, together with a quick creation to object-oriented programming (OOP)
    • Introduces processing XML, the Tk toolkit, RubyGems, mirrored image, RDoc, embedded Ruby, metaprogramming, exception dealing with, and different topics
    • Acquaints you with a few of the necessities of Rails, and contains a brief Rails tutorial.
    Each bankruptcy concludes with a collection of evaluate questions, and appendices give you a word list of phrases regarding Ruby programming, plus reference fabric from the e-book in a single handy situation. that allows you to take Ruby out for a force, Learning Ruby holds the keys.
    Show description

  • Pro Design Patterns in Swift

    By Adam Freeman

    The speedy programming language has reworked the area of iOS improvement and began a brand new age of recent improvement. Pro layout styles in Swift exhibits you ways to harness the facility and suppleness of rapid to use crucial and enduring layout styles for your functions, taking your improvement initiatives to grasp level.

    This publication will train you these layout styles that experience regularly been current at a few point on your code, yet won't were famous, said, or absolutely applied. Implementation of particular development ways will end up their price to any fast developer.

    Best-selling writer Adam Freeman explains the right way to get the main from layout styles. He begins with the nuts-and-bolts and exhibits you every thing via to complex good points, going in-depth to provide you the data you would like.

    Pro layout styles in rapid brings layout styles to existence and exhibits you the way to carry constitution and scale on your rapid code with a pragmatic, no-nonsense approach.

    Show description

  • iOS 7 Programming Fundamentals: Objective-C, Xcode, and Cocoa Basics

    If you’re getting begun with iOS improvement, or need a more impregnable snatch of the fundamentals, this useful consultant offers a transparent view of its primary construction blocks—Objective-C, Xcode, and Cocoa contact. You’ll study object-oriented thoughts, know the way to take advantage of Apple’s improvement instruments, and realize how Cocoa presents the underlying performance iOS apps have to have. Dozens of instance initiatives can be found at GitHub.

    Once you grasp the basics, you’ll manage to take on the main points of iOS app improvement with writer Matt Neuburg’s better half consultant Programming iOS 7.

    • Explore the c programming language to profit how Objective-C works
    • Learn how circumstances are created, and why they’re so important
    • Tour the lifecycle of an Xcode venture, from inception to App Store
    • Discover tips on how to construct interfaces with nibs and the nib editor
    • Explore Cocoa’s use of Objective-C linguistic features
    • Use Cocoa’s event-driven version and significant layout patterns
    • Learn the position of accessors, key-value coding, and properties
    • Understand the ability of ARC-based item reminiscence management
    • Send messages and information among Cocoa objects


    Show description

  • Scala Puzzlers

    By Andrew Phillips

    Scala Puzzlers is a set of enigmatic Scala code examples that behave hugely opposite to expectancies and may entertain and enlighten even the main finished Scala developer. problem your Scala instinct, then deal with your self to a revealing clarification of the explanations underlying the code's real habit that may supply very important and sometimes primary insights into Scala. prepare for a enjoyable trip that would take you extra down the line to Scala mastery!
    Show description

  • Foundation ActionScript 3

    ActionScript three is a full-fledged programming language, with entire object-oriented services, occasion dealing with, sound and video aid, drawing services, aid for normal expressions, and lots more and plenty more.

    Whether you're simply beginning out at the highway to laptop programming and animation or an skilled developer who desires to study a brand new language, you’ll locate all you want to understand in Foundation ActionScript 3.

    Starting with the basics, you’ll the right way to upload interactivity on your Flash videos through the use of ActionScript items, manipulating sound and video, and harnessing the ability of standard expressions and XML. The publication concludes with case experiences to consolidate what you’ve discovered and introduce a few extra complicated concepts. You’ll achieve a superb knowing of the fascinating international of ActionScript three and spot how every thing suits jointly, so you’ll manage to construct your personal expert applications.

    The good structure of the e-book makes it effortless to discover information regarding particular ideas. It makes a speciality of the fundamental abilities that would help you wake up and operating quick. With this booklet as your consultant, you’ll be growing killer Flash functions earlier than you recognize it.

    What you’ll learn

    • Learn the basics of ActionScript 3.
    • Use ActionScript 3’s object-oriented features
    • Manipulate sound and video to provide intriguing smooth net applications
    • Work with XML as your facts source

    Who this booklet is for

    no matter if you are thoroughly new to ActionScript or you are coming from a prior version, beginning ActionScript three will train you all you must be aware of to wake up and operating with AS3 very quickly.

    Table of Contents

    1. Getting begun with ActionScript 3
    2. ActionScript three Fundamentals
    3. Objects and Classes
    4. Working with the Display
    5. Creating Vector portraits with the Drawing API
    6. User interplay and extra with Events
    7. Working with Video
    8. Using Audio
    9. Working with Components
    10. Regular Expressions
    11. Using XML
    12. Case learn: making a Dynamic snapshot Viewer
    13. Getting begun with Flex
    14. Flex via Example
    Show description

  • Elasticsearch Server - Third Edition

    Leverage Elasticsearch to create a strong, quickly, and versatile seek resolution with ease

    About This Book

    • Boost the looking out functions of your approach via synonyms, multilingual facts dealing with, nested items and parent-child documents
    • Deep dive into the realm of information aggregation and knowledge research with ElasticSearch
    • Explore quite a lot of ElasticSearch modules that outline the habit of a cluster

    Who This publication Is For

    If you're a powerfuble developer and need to benefit in regards to the nice and fascinating global of ElasticSearch, then this e-book is for you. No earlier wisdom of Java or Apache Lucene is needed.

    What you'll Learn

    • Configure, create, and retrieve information out of your indices
    • Use an ElasticSearch question DSL to create a variety of queries
    • Discover the highlighting and geographical seek gains provided by means of ElasticSearch
    • Find out the way to index info that isn't flat or info that has a relationship
    • Exploit a potential seek to look for queries now not documents
    • Use the aggregations framework to get extra out of your facts and increase your client's seek experience
    • Monitor your cluster country and future health utilizing the ElasticSearch API in addition to third-party tracking solutions
    • Discover easy methods to adequately arrange ElasticSearch for numerous use cases

    In Detail

    ElasticSearch is a truly quickly and scalable open resource seek engine, designed with distribution and cloud in brain, whole with all of the chocolates that Apache Lucene has to supply. ElasticSearch's schema-free structure permits builders to index and seek unstructured content material, making it ideally fitted for either small tasks and massive monstrous info warehouses, even people with petabytes of unstructured data.

    This e-book will consultant you thru the realm of the main universal ElasticSearch server functionalities. you will commence via getting an knowing of the fundamentals of ElasticSearch and its info indexing performance. subsequent, you'll discover the querying features of ElasticSearch, by way of a via clarification of scoring and seek relevance. After this, you are going to discover the aggregation and knowledge research features of ElasticSearch and may learn the way cluster management and scaling can be utilized to spice up your software functionality. you will discover out the right way to use the pleasant leisure APIs and the way to music ElasticSearch to utilize it. through the top of this e-book, you could have have the capacity to create extraordinary seek recommendations as in line with your project's specifications.

    Style and approach

    This step by step consultant is filled with screenshots and real-world examples to take you on a trip during the fabulous international of complete textual content seek supplied via ElasticSearch.

    Show description

  • Programming Google App Engine: Build and Run Scalable Web Apps on Google's Infrastructure (Animal Guide)

    By Dan Sanderson

    As certainly one of modern-day cloud computing prone, Google App Engine does greater than offer entry to a wide approach of servers. It additionally provide you with an easy version for development functions that scale instantly to house hundreds of thousands of clients. With Programming Google App Engine, you will get specialist sensible assistance that can assist you make the simplest use of this strong platform. Google engineer Dan Sanderson exhibits you the way to layout your functions for scalability, together with how one can practice universal improvement initiatives utilizing App Engine's APIs and scalable services.

    You'll find out about App Engine's program server structure, runtime environments, and scalable datastore for allotting info, in addition to innovations for optimizing your software. App Engine deals approximately limitless computing strength, and this e-book offers transparent and concise directions for purchasing the main from it correct from the source.

    • Discover the diversities among conventional net improvement and improvement with App Engine
    • Learn the main points of App Engine's Python and Java runtime environments
    • Understand how App Engine handles net requests and executes program code
    • Learn how you can use App Engine's scalable datastore, together with queries and indexes, transactions, and knowledge modeling
    • Use activity queues to parallelize and distribute paintings around the infrastructure
    • Deploy and deal with functions with ease

    Show description

  • PNG: The Definitive Guide

    By Greg Roelofs


    PNG (Portable community images) is the next-generation snap shots dossier layout for the net. Designed as an open-source structure to interchange the proprietary GIF layout, PNG is best, smaller, extra extensible, and free. Already supported by way of significant software program like Macromedia Fireworks, Adobe Photoshop, and Microsoft place of work, in addition to Netscape Navigator and Microsoft web Explorer, PNG is a sublime and feature-rich photo structure that has eventually completed extensive support.

    PNG: The Definitive Guide addresses the wishes of either picture designers who are looking to get the main out of the structure and programmers who are looking to upload complete PNG aid to their very own applications.

    In the "Using PNG" part, Roelofs covers internet browsers and servers, photograph audience, picture editors, photo converters, and 3D purposes, with specific cognizance to the extent of PNG aid in every one. within the "Design of PNG" part, he comprises certain info on compression and filtering, gamma correction and precision colour, PNG thoughts and extensions. within the "Programming PNG" part, he steps via 3 pattern courses that enforce PNG with the libpng C library.

    PNG: The Definitive Guide is the 1st publication dedicated solely to educating and documenting this significant new picture layout. it's an vital compendium for web pages builders and programmers and is chock jam-packed with examples, pattern code, and functional hands-on advice.
    Show description

  • Introduction to Network Simulator NS2

    By Teerawat Issariyakul

    Advent to community Simulator NS2 is a primer supplying fabrics for NS2 novices, no matter if scholars, professors, or researchers for knowing the structure of community Simulator 2 (NS2) and for incorporating simulation modules into NS2. The authors speak about the simulation structure and the main elements of NS2 together with simulation-related gadgets, community gadgets, packet-related items, and helper gadgets. The NS2 modules integrated inside are nodes, hyperlinks, SimpleLink gadgets, packets, brokers, and functions. extra, the e-book covers 3 helper modules: timers, random quantity turbines, and blunder versions. additionally integrated are chapters on precis of debugging, variable and packet tracing, end result compilation, and examples for extending NS2. appendices give you the info of scripting language Tcl, OTcl and AWK, in addition item orientated programming used generally in NS2.
    Show description