MongoDB Cookbook - Second Edition

By Amol Nayak

Harness the most recent positive factors of MongoDB three with this number of eighty recipes – from dealing with cloud structures to app improvement, this booklet is an important resource

About This Book

  • Get to grips with the most recent positive aspects of MongoDB 3
  • Interact with the MongoDB server and practice quite a lot of question operations from the shell
  • From management to automation, this cookbook retains you modern with the world's best NoSQL database

Who This e-book Is For

This ebook is engineered for an individual who's attracted to coping with info in a simple and effective manner utilizing MongoDB. you don't want any past wisdom of MongoDB, however it will be worthwhile in case you have a few programming event in both Java or Python.

What you'll Learn

  • Install, configure, and administer MongoDB sharded clusters and duplicate sets
  • Begin writing functions utilizing MongoDB in Java and Python languages
  • Initialize the server in 3 varied modes with a variety of configurations
  • Perform cloud deployment and introduce PaaS for Mongo
  • Discover frameworks and items outfitted to enhance developer productiveness utilizing Mongo
  • Take an in-depth examine the Mongo programming motive force APIs in Java and Python
  • Set up firm classification tracking and backups of MongoDB

In Detail

MongoDB is a high-performance and feature-rich NoSQL database that types the spine of the platforms that strength many alternative companies – it is easy to work out why it is the most well liked NoSQL database out there. full of many gains that experience turn into crucial for plenty of forms of software program execs and tremendously effortless to exploit, this cookbook comprises many options to the standard demanding situations of MongoDB, in addition to suggestions on potent options to increase your talents and capabilities.

This publication begins with tips on how to initialize the server in 3 various modes with a variety of configurations. you are going to then be brought to programming language drivers in either Java and Python. a brand new characteristic in MongoDB three is that you should hook up with a unmarried node utilizing Python, set to make MongoDB much more well-liked by somebody operating with Python. you'll then study a number of additional issues together with complex question operations, tracking and backup utilizing MMS, in addition to a few very valuable management recipes together with SCRAM-SHA-1 Authentication. past that, additionally, you will locate recipes on cloud deployment, together with assistance on how one can paintings with Docker boxes along MongoDB, integrating the database with Hadoop, and advice for making improvements to developer productivity.

Created as either an obtainable educational and a straightforward to exploit source, available everytime you have to remedy an issue, MongoDB Cookbook might help you deal with every thing from management to automation with MongoDB extra successfully than ever before.

Style and approach

Every recipe is defined in a very easy set-by-step demeanour but is very comprehensive.

Show description

Read more

The Essential Guide to HTML5: Using Games to learn HTML5 and JavaScript

HTML5 opens up a plethora of latest avenues for program and video game improvement on the internet. video games can now be created and interacted with at once inside HTML, without having for clients to obtain additional plugins, or for builders to profit new languages. very important new beneficial properties similar to the Canvas tag allow drawing without delay onto the internet web page. The Audio tag permits sounds to be caused and performed from inside your HTML code, the WebSockets API facilitates real-time communique, and the neighborhood garage API allows facts comparable to excessive ratings or online game personal tastes to be saved on a user's laptop for retrieval subsequent time they play. All of those gains and plenty of extra are coated inside The crucial advisor to HTML5.

The e-book starts off at an introductory point, instructing the necessities of HTML5 and JavaScript via video game improvement. every one bankruptcy incorporates a commonly used video game sort as its middle instance, similar to hangman, rock-paper-scissors, or cube video games, and makes use of those uncomplicated constructs to build a superior skillset of the major HTML5 innovations and contours. by means of operating via those palms on examples, you'll achieve a deep, functional wisdom of HTML5 that may make it easier to construct your personal, extra complicated video games and purposes.

  • Concepts are brought and inspired with easy-to-grasp, beautiful examples
  • Code is defined intimately after normal factors
  • Reader is guided into how you can make the examples 'their personal'

Show description

Read more

Think Like a Programmer: An Introduction to Creative Problem Solving

By V. Anton Spraul

Rewire your brain

Examples during this ebook are written in C++, yet will enhance your skill to imagine like a programmer in any language.

The actual problem of programming isn't really studying a language's syntax—it's studying to creatively resolve difficulties so that you can construct anything nice. during this special textual content, writer V. Anton Spraul breaks down the ways in which programmers resolve difficulties and teaches you what different introductory books usually forget about: the best way to Think Like a Programmer. each one bankruptcy tackles a unmarried programming suggestion, like sessions, guidelines, and recursion, and open-ended routines all through problem you to use your wisdom. you will additionally learn the way to:

  • Split difficulties into discrete parts to lead them to more uncomplicated to solve
  • Make the main of code reuse with capabilities, sessions, and libraries
  • Pick the right info constitution for a selected job
  • Master extra complex programming instruments like recursion and dynamic memory
  • Organize your techniques and enhance ideas to take on specific sorts of problems

Although the book's examples are written in C++, the artistic problem-solving techniques they illustrate transcend any specific language; actually, they generally succeed in outdoor the world of machine technological know-how. because the such a lot skillful programmers be aware of, writing nice code is an inventive art—and step one in developing your masterpiece is studying to Think Like a Programmer.

Show description

Read more

C++ Application Development with Code::Blocks

By Biplab Kumar Modak

Using Code::Blocks it really is attainable for C++ builders to create software consistency throughout a number of systems. This ebook takes you thru the method from deploy to imposing complicated positive aspects, all with a ordinary approach.


  • Successfully set up and configure Code::Blocks for C++ development
  • Perform fast software improvement with Code::Blocks
  • Work with complex C++ positive aspects together with code debugging and GUI toolkits

In Detail

Code::Blocks is a loose C++ IDE designed to satisfy the large calls for of C++ builders. Code::Blocks is particularly extensible and will be simply configured to take care of a constant feel and appear on your program throughout a number of systems. while you are trying to enhance cross-platform functions utilizing C++, then this ebook is for you.

This e-book offers sensible factors for program improvement with C++ and Code::Blocks. you'll get to grips with the various elements program improvement with the aid of real-life examples. As you continue in the course of the chapters, you can find your self successfully operating with and imposing complex C++ gains on your application.

The e-book starts off with an creation to Code::Blocks and certain directions on tips on how to set up and configure it. you're then brought to the method of program improvement with assistance from real-life examples. in the course of the process the ebook, you'll methods to strengthen GUI-based functions painlessly. The ebook additionally locations precise emphasis on debugging the applying. The later sections take a more in-depth examine utilizing 3rd occasion C++ libraries and the way to enforce wxWidgets to enhance cross-platform purposes. by way of the tip of this booklet, you'll recognize every little thing you must find out about C++ software improvement with Code::Blocks.

What you are going to research from this book

  • Install and configure Code::Blocks
  • Develop console-based C++ applications
  • Learn approximately home windows program development
  • Understand the position of GUI toolkits
  • Implement complex Code::Block features


This is a finished educational with step by step directions on how one can improve purposes with Code::Blocks.

Who this ebook is written for

This ebook is for C++ builders who desire to use Code::Blocks to create functions with a constant appear and feel throughout a number of systems. This publication assumes that you're acquainted with the fundamentals of the C++ programming language.

Show description

Read more

C++: No Experience Required

By Paulo Franca

The quickest, least-expensive solution to study C++ in home windows! because the preferred programming language for the computer, C++ is quickly, versatile, and intensely very important in ultra-modern company surroundings. formerly, it used to be additionally probably the most advanced languages for the newbie to benefit. yet no longer from now on! C++: No adventure required will quick enable you create important home windows C++ functions. Use the distinctive step by step workouts within the e-book to turn into a well informed home windows C++ programmer in weeks.

Show description

Read more

Programming Ruby 1.9 & 2.0: The Pragmatic Programmers' Guide (The Facets of Ruby)

By Dave Thomas, Chad Fowler

Ruby is the quickest becoming and most fun dynamic language available in the market. if you would like to get operating courses added quickly, you'll want to upload Ruby on your toolbox.

This booklet is the one entire reference for either Ruby 1.9 and Ruby 2.0, the very most up-to-date model of Ruby.

2013 marks the 20 th anniversary of the Ruby language. we are proud that all through its historical past, we've got endured to hide the most recent model of Ruby.

Would you love to head from first notion to operating code a lot, a lot quicker? Do you presently spend extra time gratifying the compiler rather than your consumers or finish clients? Are you annoyed with tough languages that appear to get on your method, rather than getting the paintings performed? Are you utilizing Rails, and need to dig deeper into the underlying Ruby language? if this is the case, then we have a language and e-book for you!

Ruby is a completely object-oriented language, very similar to the vintage object-oriented language, Smalltalk. Like Smalltalk, it's dynamically typed (as against Java or C++), yet in contrast to Smalltalk, Ruby good points an identical conveniences present in smooth scripting languages similar to Perl and Python.

The mix of the facility of a natural object-oriented language with the ease of a scripting language makes Ruby a favourite software of clever, forward-thinking programmers.

The Pickaxe comprises 4 significant sections:

An acclaimed educational on utilizing Ruby. The definitive connection with the language. entire documentation of all integrated sessions, modules, and methods. entire descriptions of all ninety seven usual libraries.

This is the reference guide for Ruby, together with an outline of the entire typical library modules, an entire connection with all integrated periods and modules (including the entire new and altered tools brought via Ruby 1.9, 1.9.2, 1.9.3, and 2.0). it is also all of the new and altered syntax and semantics brought in view that Ruby 1.8. know about the hot parameter passing principles, neighborhood variable scoping in blocks, fibers, and the hot block assertion syntax, between different intriguing new features.

About Ruby 2.0

Ruby 2.0 is a minor replace to Ruby 1.9, in contrast to the extra significant updates from Ruby 1.8 to Ruby 1.9.

The significant language adjustments in Ruby 2.0 are the addition of key-phrase arguments and the swap to exploit UTF-8 because the default resource dossier encoding.

There are a few additions to the traditional library, including:

@Enumerator::Lazy@, which provides help for lazy entry to in all likelihood endless lists. Refinements let you encapsulate adjustments to third-party periods, and scope their program to person resource records, fighting your alterations from polluting the worldwide application.

You'll additionally locate that Ruby 2 is quicker, and has reminiscence administration advancements that make it extra server-friendly.

All informed, there are over a hundred and ten sections of the e-book which were flagged and cross-linked to point 2.0 content.

What You Need

This e-book assumes you have got a easy knowing of object-oriented programming.

commonly, Ruby programmers are inclined to prefer the the command line for working their code, they usually are likely to use textual content editors instead of IDEs.

* Ruby runs on home windows, Linux, and Macs.

Show description

Read more

Learning Penetration Testing with Python

By Christopher Duffy

Utilize Python scripting to execute potent and effective penetration tests

About This Book

  • Understand how and the place Python scripts meet the necessity for penetration testing
  • Familiarise your self with the method of highlighting a selected method to take advantage of an atmosphere to fetch serious data
  • Develop your Python and penetration checking out abilities with real-world examples

Who This booklet Is For

If you're a safeguard expert or researcher, with wisdom of other working platforms and a conceptual inspiration of penetration checking out, and also you want to develop your wisdom in Python, then this booklet is perfect for you.

What you are going to Learn

  • Familiarise your self with the iteration of Metasploit source files
  • Use the Metasploit distant technique name (MSFRPC) to automate take advantage of new release and execution
  • Use Python's Scrapy, community, socket, place of work, Nmap libraries, and customized modules
  • Parse Microsoft workplace spreadsheets and eXtensible Markup Language (XML) facts files
  • Write buffer overflows and opposite Metasploit modules to extend capabilities
  • Exploit distant dossier Inclusion (RFI) to realize administrative entry to structures with Python and different scripting languages
  • Crack an organization's web perimeter
  • Chain exploits to realize deeper entry to an organization's resources
  • Interact with internet providers with Python

In Detail

Python is a robust new-age scripting platform so that it will construct exploits, overview prone, automate, and hyperlink strategies very easily. Python is a multi-paradigm programming language like minded to either object-oriented software improvement in addition to useful layout styles. as a result strength and adaptability provided via it, Python has turn into probably the most renowned languages used for penetration testing.

This e-book highlights how one can assessment a firm methodically and realistically. particular tradecraft and strategies are lined that exhibit you precisely whilst and the place instruments can and may be used and whilst Python matches a necessity that proprietary and open resource options do not.

Initial technique, and Python basics are tested after which outfitted on. particular examples are created with weak process pictures, that are on hand to the neighborhood to check scripts, recommendations, and exploits. This booklet walks you thru real-world penetration checking out demanding situations and the way Python can help.

From begin to end, the booklet takes you thru tips on how to create Python scripts that meet relative wishes that may be tailored to specific events. As chapters development, the script examples clarify new innovations to reinforce your foundational wisdom, culminating with you with the ability to construct multi-threaded safeguard instruments, hyperlink safeguard instruments jointly, automate reviews, create customized exploits, and extend Metasploit modules.

Style and approach

This publication is a realistic advisor to help you develop into higher penetration testers and/or Python defense software builders. each one bankruptcy builds on techniques and tradecraft utilizing exact examples in attempt environments so you might simulate.

Show description

Read more

Application Development with Swift

Develop hugely effective and attractive iOS functions by utilizing the rapid language

About This Book

  • Develop a chain of functions with rapid utilizing the improvement kits and new/updated APIs
  • Use the hot positive aspects of iOS eight so as to add new style for your applications
  • A hands-on consultant with specified code snippets to help you in constructing robust speedy applications

Who This booklet Is For

If you're an iOS developer with event in Objective-C, and need to strengthen functions with rapid, then this ebook is perfect for you. Familiarity with the basics of rapid is an additional virtue yet no longer a necessity.

What you are going to Learn

  • Use playgrounds in Xcode to make the writing of fast code effective and easy
  • Get conversant in the complex gains of quick and make whole use of them on your code
  • Add a brand new process for authentication for your app utilizing contact ID
  • Develop health-related apps utilizing HealthKit
  • Take your apps to the subsequent point of functionality and strength utilizing Metal
  • Develop functions for wearables utilizing WatchKit
  • Use Notification middle to simply entry all of your notifications
  • Make your clients units extra trendy through the use of Apple's integrated quickly kind keyboard, rather than the local one

In Detail

After years of utilizing Objective-C for constructing apps for iOS/Mac OS, Apple now bargains a brand new, artistic, effortless, and cutting edge programming language for program improvement, known as rapid. fast makes iOS software improvement a breeze through providing pace, protection and gear for your program improvement procedure. quick is simple to benefit and has extraordinary good points similar to being open resource, debugging,interactive playgrounds, blunders dealing with version, etc. fast has simplified its reminiscence administration with computerized Reference Counting (ARC) and it truly is appropriate with Objective-C.

This ebook has been created to supply you with the knowledge and talents you should use the hot programming language quick. The booklet starts off with an advent to fast and code constitution. Following this, you are going to use playgrounds to get to grips with the language very quickly. Then the publication takes you thru the complex positive factors provided via speedy and the way to exploit them together with your outdated Objective-C code or tasks. you'll then discover ways to use speedy in genuine initiatives through overlaying APIs equivalent to HealthKit, steel, WatchKit, and contact identity in every one bankruptcy. The book's effortless to persist with constitution guarantees you get the simplest begin to constructing purposes with Swift.

Style and approach

The booklet achieves its finish aim via dividing its content material into elements. half 1 will take the readers, who're new to speedy, via its structure and fundamentals. half 2 of the booklet will disguise content material on software improvement with Swift.

Show description

Read more

MUD Game Programming (Premier Press Game Development)

Increase your individual Multi-User Dungeon video games! Multi-User Dungeon video games are nonetheless going powerful. It?s no wonder?they?re effortless to create and straightforward to entry. in addition they have an extra allure for video game programmers?they function the basis for today?s vastly Multiplayer on-line function enjoying video games. in an effort to create an mmog, you must comprehend dust programming. prepare to construct your origin! when you've got a uncomplicated wisdom of C++, "MUD video game Programming" delivers every thing you want to be aware of to start programming your personal dust video games. the basics of community fundamentals are positioned to the try as you're employed your approach via an easy dust software. placed your new talents to paintings as you wrap issues up with a extra complex, powerful dust. Pull out all of the stops and try your creativity with the versatile points of your new dust engine.

Show description

Read more

Crafting Rails Applications: Expert Practices for Everyday Rails Development (Pragmatic Programmers)

Rails three is a big breakthrough. now you can simply expand the framework, switch its habit, and change complete parts to bend it on your will, all with out messy hacks. This pioneering ebook is the 1st source that deep dives into the recent Rails three APIs and indicates you the way use them to jot down greater net functions and make your day by day paintings with Rails extra productive.

Rails middle developer Jose Valim publications you thru seven various tutorials, every one of them utilizing test-driven improvement to construct a brand new Rails extension or software that solves universal issues of those new APIs. you are going to know how the Rails rendering stack works and customise it to learn templates from the database when you easy methods to mimic lively list habit, like validations, in the other item. you can find out how you can write speedier, leaner controllers, and you may methods to combine Sinatra functions into your Rails apps, so that you can select the main applicable instrument for the activity. moreover, you'll increase your productiveness through customizing turbines and responders.

This e-book might help you already know Rails 3's internal workings, together with turbines, template handlers, internationalization, routing, and responders. With the data you are going to achieve, you will be able to take on complex initiatives extra simply than ever prior to, growing options which are well-tested, modular, and simple to maintain.

Show description

Read more