Packt Open Source
Packt Open Source books
Packt Open Source books will continue to be built around the “community experience distilled” motto, focussing on taking real advice from the community around projects, and refining and distilling it into easy to follow specialist information.
Through this, the Open Source Royalty Scheme will continue to support open source projects, offering a royalty for the sale of each book to the project on which that book was written.
Believe in Open Source
Open Source Awards
The Open Source Awards is an annual online event held by Packt Publishing to distinguish excellence among Open Source projects. We aim to play our part in the growth of Open Source software and see the annual Award as the ultimate platform for not only appreciating the great things projects have given back to the community but also supporting projects who have future potential to change things for the better.
Open Source Project Royalty Scheme
Packt believes in open source and helping to sustain and support its unique projects and communities. Therefore, when we sell a book written on an open source project, we pay a royalty directly to that project. As a result of purchasing one of our Open Source books, Packt will have given some of the money received to the Open Source project.
In the long term, we see ourselves and yourselves, as customers and readers of our books, as part of the Open Source ecosystem, providing sustainable revenue for the projects we publish on. Our aim at Packt is to establish publishing royalties as an essential part of the service and support business model that sustains open source.
To read up on the projects that are supported by the Packt Open Source Project Royalty Scheme, click the appropriate categories below:
Content Management System (CMS)
Latest Articles
Good time management in CasperJS tests
In this article by Éric Bréhault, the author of Instant Testing with CasperJS, we will learn how to test our use case with CasperJS and how timing is everything.
Read Good time management in CasperJS tests in fullImproving proximity filtering with KNN
In this article by Paolo Corti, Thomas J Kraft, Stephen Vincent Mather, and Bborie Park, authors of PostGIS Cookbook, you will learn how to make use of KNN filters to increase the performance of proximity queries.
PostGIS Cookbook uses a problem-solving approach to help you acquire a solid understanding of PostGIS. Hopefully, this book provides answers to some common spatial questions and gives you the inspiration and confidence to use and enhance PostGIS in finding solutions to challenging spatial problems.
Read Improving proximity filtering with KNN in fullOrganizing Backbone Applications - Structure, Optimize, and Deploy
Backbone itself doesn't provide any application structure or guidance on how to organize the application source code. This makes it quite difficult for beginner-level programmers to understand how to create a folder structure, add proper namespaces, load script files in the appropriate order, and follow patterns to create a robust app architecture. We will see how to do so in this article by Swarnendu De, author of Backbone.js Patterns and Best Practices.
Read Organizing Backbone Applications - Structure, Optimize, and Deploy in fullAn overview of architecture and modeling in Cassandra
This article is written by Sanjay Sharma, the author of Cassandra Design Patterns. When Cassandra was first being developed, the initial developers had to take a design decision on whether to build a Dynamo-like or a Google BigTable-like system, and these clever guys decided to use the best of both worlds. Hence, the Cassandra architecture is loosely based on the foundations of peer-to-peer-based Dynamo architecture, with the data storage model based on Google BigTable.
Read An overview of architecture and modeling in Cassandra in fullGrunt in Action
In this article by Jaime Pillora, author of Getting Started with Grunt: The JavaScript Task Runner, we will perform additional transformations on set of source files by using Grunt.
Read Grunt in Action in fullSearch Using Beautiful Soup
In this article by Vineeth G. Nair, the author of the book Getting Started with Beautiful Soup, we will learn the different searching methods provided by Beautiful Soup to search based on tag name, attribute values of tag, text within the document, regular expression, and so on. At the end, we will make use of these searching methods to scrape data from an online web page.
Read Search Using Beautiful Soup in fullIntents for Mobile Components
In this article by Wajahat Karim, the author of the book "Learning Android Intents" has discussed some of the applications of intents with a more practical approach. Also, he has discussed the mobile components that are commonly found in all Android phones.
Now, we will see how these mobile components can be accessed and used very easily via intents. Android provides a vast collection of libraries and features through which a developer can utilize mobile components. This is as easy as a walk in the park. This article mainly includes four different categories of components: visual components such as camera, communication components such as Wi-Fi and Bluetooth, media components such as video and audio recording, speech recognition, and text-to-speech conversion, and finally, motion components such as proximity sensor. The following topics will be discussed in this article:
- Common mobile components
- Components and intents
- Communication components
- Using Bluetooth through intents
- Using Wi-Fi through intents
- Media components
- Taking pictures and recording video through intents
- Speech recognition using intents
- Role of intents in text-to-speech conversion
- Motion components
- Proximity alerts through intents
The concepts and structures of intents are the prerequisites for understanding this article.
Read Intents for Mobile Components in fullBeyond Grading
This article written by Mythravarun Vepakomma, the author of the book Blender Compositing and Post Processing, deals with advanced compositing beyond grading. These techniques emphasize alternate methods in Blender Compositing for some specific 3D render requirements that can save lots of render time, thereby also saving budgets, in making a CG film. Following is the list of contents that will be presented in this article:
- Relighting
- Fresnel effect in compositing
Your First Application
Having learned about the conventions and responsibilities in Laravel, and how to create a new project with Composer, you are now ready to build your first application!
In this article by Raphaël Saunier, author of Getting Started with Laravel 4, you will use the concepts presented previously in a practical way and learn how to do the following:
- Sketch out the URLs and entities of your application
- Troubleshoot common issues when getting started
- Define the routes and their actions as well as the models and their relationships
- Prepare your database and learn how to interact with it using Eloquent
- Use the Blade template language to create hierarchical layouts
The first step in creating a web application is to identify and define its requirements. Then, once the main features have been formulated, we derive the main entities as well as the URL structure of the application. Having a well-defined set of requirements and URLs is also essential for other tasks such as testing; this will be covered later in the book.
A lot of new concepts are presented in this article. If you have trouble understanding something or if you are not quite sure where to place a particular snippet of code, you can download the annotated source code of the application on http://packtpub.com/support, which will help you to follow along.
Read Your First Application in fullPreparing and Configuring Your Magento Website
This article, by Robert Kent, the author of Magento Search Engine Optimization, covers the basic concepts of keyword placement and the roles of the different types of pages to prepare and configure your Magento website.
In this article, we cover the following topics:
- Understanding the structure of a website, the purpose of optimizing for e-commerce, and the relationship between keywords and their position on a website
- Understanding the buying intent of our visitors and how this intent may differ depending on the type of page by which they enter our website
- The roles of content management system (CMS) pages