Article Network

The Kendo MVVM Framework

by John Adams | September 2013 | Web Development

In this article by John Adams, author of Learning Kendo UI Web Development, we will cover the following topics:

  • Basics of MVVM

  • Simple data binding

  • Creating the view

  • Creating the Model and View-Model

  • Observable data binding

  • Adding data dynamically

  • Data-bind properties for Kendo MVVM

Read The Kendo MVVM Framework in full

The Login Page using Ext JS

by Loiane Groner | July 2013 | Open Source Web Development

The article The Login Page using Ext JS by Loiane Groner, author of the book Mastering Ext JS, talks about developing a login page for an application using Ext JS.

It is very common to have a login page for an application, which we can use to control access to the system by identifying and authenticating the user through the credentials presented by him/her. Once the user is logged in, we can track the actions performed by the user. We can also restrain access of some features and screens of the system that we do not want a particular user or even a specific group of users to have access to.

In this article, we will cover:

  • Creating the login page
  • Handling the login page on the server
  • Adding the Caps Lock warning message in the Password field
  • Submitting the form by pressing the Enter key
  • Encrypting the password before sending to the server
Read The Login Page using Ext JS in full

The Magic

by Alex Knol | December 2013 | Open Source

It is time we explain some of the inner workings of Angular. Angular does some neat things for us. It saves us from having to write a bunch of boilerplate code. In this article written by Alex Knol author of the book Dependency Injection with AngularJS, we will see the magic of Angular.

Dependency Injection is baked into AngularJS and heavily used throughout. Another feature is a built-in subset of a jQuery functionality called jQLite. It contains all the necessary functions to make AngularJS run without jQuery and has the exact same interface. If jQuery is available in your application, it will be used instead. Angular also takes the burden of bootstrapping your application, which will be covered later in this article.

Read The Magic in full

The Media module

by Liran Tal | August 2013 | Drupal Open Source

In this article by Liran Tal, the author of the book Drupal 7 Media, mentions that in previous versions of Drupal, the basic image field type didn't exist by default nor did another facet of image handling—the Imagecache module, which enabled the management of different image pre-sets (thumbnail, large, and so on). As we've seen with the Memo content type, this is no longer the case in Drupal 7, and at least a very basic support for images that already exist.

Read The Media module in full

The Model-View-Controller pattern and Configuring Web Scripts with Alfresco

by Piergiorgio Lucidi Ugo Cei | August 2010 | Content Management Open Source Web Development

Alfresco 3 is one of the most versatile open source Enterprise Content Management (ECM) platforms. This is a real open source alternative to commercial product such as Microsoft SharePoint and EMC Documentum. It is also very well designed and suitable to be customized and extended. The open source adoption allows developers to contribute on the project and that's why you can find more than 240 extensions in the Alfresco Forge.

In this article by Ugo Cei and Piergiorgio Lucidi, authors of the book, Alfresco 3 Web Services, you will learn:

  • How to properly design Web Scripts using the Model-View-Controller pattern
  • How to configure a Web Script for things such as authentication, transactionality, and cacheability
  • How clients can request a specific response format
  • How to deploy Web Scripts in Alfresco
Read The Model-View-Controller pattern and Configuring Web Scripts with Alfresco in full

The Multi-Table Query Generator using phpMyAdmin and MySQL

by Marc Delisle | February 2009 | PHP

The Search pages in the Database or Table view are intended for single-table lookups. This article by Marc Delisle, covers the multi-table Query by example (QBE) feature available in the Database view.

Many phpMyAdmin users work in the Table view, table-by-table, and thus tend to overlook the multi-table query generator, which is a wonderful feature for fine-tuning queries. The query generator is useful not only in multi-table situations but also for a single table. It enables us to specify multiple criteria for a column, a feature that the Search page in the Table view does not possess.

Read The Multi-Table Query Generator using phpMyAdmin and MySQL in full

The Need for Directives

by Alex Vanston | August 2013 | Open Source Web Development

This article by Alex Vanston, the author of the book AngularJS Directives, could almost as easily be titled "The Need for Angular", as directives make up the heart and soul of what distinguishes Angular from other JavaScript libraries and frameworks. Certainly there are other key features, Dependency Injection being one of my favorites that makes it exemplary, however none are quite as foundational to Angular as directives.

With that in mind, let's take a look at what attributes define directives and why they're best suited for frontend development, as well as what makes them different from the JavaScript techniques and packages you've likely used earlier. Hopefully, by the end you'll understand a few of the key qualities that make directives ideal for frontend web development.

Read The Need for Directives in full

The NGINX HTTP Server

by Dimitri Aivaliotis | April 2013 | Linux Servers Open Source

An HTTP server is primarily a piece of software that will deliver web pages to clients when requested. These web pages can be anything from a simple HTML file on disk to a multicomponent framework delivering user-specific content, dynamically updated through AJAX or WebSocket. NGINX is modular, and is designed to handle any kind of HTTP serving necessary.

In this article by Dimitri Aivaloitis, author of Mastering NGINX , we will investigate the various modules that work together to make NGINX such a scalable HTTP server. The following topics are included in this article:

  • NGINX's architecture

  • The HTTP core module

  • Using limits to prevent abuse

  • Restricting access

  • Streaming media files

  • Predefined variables

  • Using NGINX with PHP-FPM

  • Wiring NGINX and uWSGI together

Read The NGINX HTTP Server in full

The Ogre Scene Graph

by Felix Kerger | December 2010 | Open Source Web Graphics & Video

This article will introduce us to the concept of a scene graph and how we can use its functions to create complex scenes.

In this article, Felix Kerger, author of Ogre 3D 1.7, we shall:

  • Learn the three basic operations in 3D space
  • How a scene graph is organized
  • The different 3D spaces we can operate in

So let's get on with it.

Read The Ogre Scene Graph in full

The OpenFlow Controllers

by Siamak Azodolmolky | October 2013 | Open Source

This article written by Siamak Azodolmolky, the author of Software Defined Networking with OpenFlow, covers the role of the OpenFlow controllers, the interface to the switch, and the provided API for Network Applications ( Net Apps ). We will also see:

  • The overall functionality of the OpenFlow (SDN) controllers
  • The existing implementations (including NOX/POX, NodeFlow, Floodlight, and OpenDaylight)
  • Special controllers or applications over controllers (FlowVisor and RouteFlow)
Read The OpenFlow Controllers in full

The Reasoning Behind Packt's Brand Launch

by | April 2010 | Enterprise Articles Open Source

You are probably already aware of the fact that Packt is set to launch two new brands, Packt Enterprise and Packt Open Source, in the coming weeks. You may even have read about it on our blog or in a previous news piece. This article will offer a slightly more in-depth look at what the brand launch will mean, and why we are doing it.

Read The Reasoning Behind Packt's Brand Launch in full

The Rotating Post Titles with Post Preview Gadget

by Narayan Bhat | May 2009 | Content Management Open Source PHP WordPress

In this article by Narayan Bhat, we will see how to install The Rotating Post Titles with Post Preview Gadget in your blog. This gadget contains Official Google code created using the Dynamic Feed Control from the Google AJAX Feed API. It will show all the post titles in your blog classified according to Labels (in Blogger) or Categories (in Wordpress). It will also show a brief rotating post preview at the top.

Read The Rotating Post Titles with Post Preview Gadget in full

The Session and the User with Joomla! 1.5: Part 1

by James Kennard | October 2009 | Cookbooks Joomla! MySQL Content Management Open Source PHP

This article by James Kennard shows how we can interact with the current user, logged in or not, and how we can interact with their session.

This article contains the following recipes:

  • Getting the session handler
  • Adding data to the session
  • Getting session data
  • Checking for session data
  • Checking the session token
  • Getting the user
  • Determining if the current user is a guest
  • Getting the user's name and username
  • Getting the user's group ID and type
  • Restricting a user's access using Public, Registered, and Special
  • Getting the user's parameters
  • Setting the user's parameters
  • Extending and editing user parameters
  • Sending an email to the user
Read The Session and the User with Joomla! 1.5: Part 1 in full

The Software Task Management Tool - Rake

by Andrey Koleshko | April 2014 | Open Source

In this article, by Andrey Koleshko, author of the book Rake Task Management Essentials, we will cover the installation of Rake, the definition of basic terms such as rake task and Rakefile, and how to use them for easy programming issues. The introduction will be given using straightforward examples to explain the terms as clearly as possible. You will see that Rake is a tool that is written in the Ruby programming language, and that's why any Ruby code can be written in a Rake application. Also, you have the choice of using any available Ruby library in a Rake project. This feature makes Rake the winner compared to many other build tools, which use their own limited languages. The article will serve as a base for introducing Rake's Domain Specific Language (DSL) and project file structuring.

In this article, we will cover the following topics:

  • Installing Rake
  • Introducing rake tasks
  • The command-line arguments
  • Using global Rakefiles to run tasks anywhere
  • Defining custom rake tasks
  • The structure of a Rake project
  • The code conventions of Rake
Read The Software Task Management Tool - Rake in full

The solvers – these great unknown

by Luca Zamboni | October 2013 | Enterprise Articles

This article written by Luca Zamboni, the author of Getting Started with Simulink describes how solvers are used by Simulink to run the simulation. It explains how every solver perform the simulation by advancing one time step and computing the new outputs starting from the previous state(s) of the system until the end of the simulation time. The initial system state must be fully defined.

The appropriate solver for a model can be chosen by defining these characteristics:

  • Time step size, which can be fixed or variable
  • Presence of continuous states in the system
  • Stiffness of the system
Read The solvers – these great unknown in full

The Spotfire Architecture Overview

by Manuel Xavier | October 2013 | Enterprise Articles

In this article, by Manuel Xavier, the author of TIBCO Spotfire for Developers, we will introduce the Spotfire Platform products, defining their independent roles in the platform's architecture. The platform's main features are also described in this article.

Read The Spotfire Architecture Overview in full

The Trivadis Integration Architecture Blueprint

by Daniel Liebhart Guido Schmutz Peter Welkenbach | June 2010 | Enterprise Articles SOA

The Trivadis Integration Architecture Blueprint specifies the building blocks needed for the effective implementation of integration solutions. It ensures consistent quality in the implementation of integration strategies as a result of a simple, tried-and-tested structure, and the use of familiar integration patterns (Hohpe, Wolf 2004).

In this article by Guido Schmutz, co-author of Service-Oriented Architecture: An Integration Blueprint, we will cover:

  • Standards, components, and patterns used
  • Structuring the integration blueprint
Read The Trivadis Integration Architecture Blueprint in full

The Trivadis Integration Architecture Blueprint: Implementation scenarios

by Daniel Liebhart Guido Schmutz Peter Welkenbach | June 2010 | Enterprise Articles SOA

Having understood the structure of the blueprint covered in the previous article on The Trivadis Integration Architecture Blueprint, this article will use individual scenarios to illustrate how the business pattern can be implemented using the Integration Architecture Blueprint.

This article by Guido Schmutz, co-author of Service-Oriented Architecture: An Integration Blueprint, will:

  • Explain service-oriented integration scenarios
  • Explain how an existing integration solution can be modernized using SOA, and describe a scenario that has already been implemented in practice
Read The Trivadis Integration Architecture Blueprint: Implementation scenarios in full

The Unreal Engine

by Geoff Sholler | August 2013 | Games

In this article by Geoff Sholler, author of the book "Build a Game with UDK", we will explain the sound component of the Unreal Engine. The Unreal Engine is used in many games out on the market. It's also used in other industries for things such as simulation. Regardless of the use, any product using the Unreal Engine will also use the Unreal Development Kit and the tools within it. This article will cover most of the tools included in the Unreal Development Kit.

Read The Unreal Engine in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
Video Support
Contact Us
Awards Voting Nominations Previous Winners
Judges Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software
Resources
Open Source CMS Hall Of Fame CMS Most Promising Open Source Project Open Source E-Commerce Applications Open Source JavaScript Library Open Source Graphics Software