Article Network

Routing in Kohana 3

by Jason D. Straughan | September 2011 | Open Source

In this article by Jason D. Straughan, author of Kohana 3.0 Beginner’s Guide, we will take a look at how we can use routes to keep our users, and data, flowing to the proper controller actions, and how to build dynamic applications using Kohana’s routing abilities.

Specifically, we will cover:

  • Routing in Kohana
  • How to use Routing in our applications
  • Advanced routing techniques
Read Routing in Kohana 3 in full

Request Flow in Kohana 3

by Jason D. Straughan | September 2011 | Open Source

Kohana utilizes the HMVC design pattern, and allows us to create requests essentially anywhere within our applications. The request flow is the order in which files are loaded, starting with index.php and moving throughout the framework, loading essential files, processing the requests, and rendering any output.

In this article by Jason D. Straughan, author of Kohana 3.0 Beginner’s Guide, we will learn:

  • What HMVC is, and how it works
  • Kohana’s Request Flow
  • How to use the Request class
Read Request Flow in Kohana 3 in full

FreeRADIUS: Working with Authentication Methods

by Dirk van der Walt | September 2011 | Beginner's Guides Networking & Telephony Open Source

Authentication is a process where we establish if someone is who he or she claims to be. The most common way is by a unique username and password. This article by Dirk van der Walt, author of FreeRADIUS Beginner's Guide, teaches authentication methods and how they work. Extensible Authentication Protocol (EAP) is covered later in a dedicated article.

In this article we shall:

  • Discuss PAP, CHAP, and MS-CHAP authentication protocols
  • See when and how authentication is done in FreeRADIUS
  • Explore ways to store passwords
  • Look at other authentication methods
Read FreeRADIUS: Working with Authentication Methods in full

FreeRADIUS Authentication: Storing Passwords

by Dirk van der Walt | September 2011 | Beginner's Guides Networking & Telephony Open Source

In the previous article we covered the Authentication Methods used while working with FreeRADIUS. This article by Dirk van der Walt, author of FreeRADIUS Beginner's Guide, teaches methods for storing passwords and how they work. Passwords do not need to be stored in clear text and it is better to store them in a hashed format. There are, however, limitations to the kind of authentication protocols that can be used when the passwords are stored as a hash which we will explore in this article.

Read FreeRADIUS Authentication: Storing Passwords in full

Unity 3: Building a Rocket Launcher

by Jate Wittayabundit | September 2011 | Web Graphics & Video

Only Unity fits the bill of being a game engine that allows you to create a full 3D game for free, and with phenomenal community support.

In this article by Jate Wittayabundit, author of Unity 3 Game Development Hotshot, we will learn how to create a rocket launcher. Here, we will first use the FPS camera and controller from the Unity built-in FPS package, but we will tweak our camera view to see from the character's shoulder as in Resident Evil 4 or 5. Then, we will adapt the built-in FPS controller script to be able to play the animation of the character, and make the controller similar to the Resident Evil style controller. Next, we will create a rocket prefab and the rocket launcher script to fire our rocket, which will also include the use of the built-in fire explosion particle and custom smoke particle effect from the launcher when we fire.

Read Unity 3: Building a Rocket Launcher in full

Getting Started with FreeRADIUS

by Dirk van der Walt | September 2011 | Beginner's Guides Networking & Telephony Open Source

After FreeRADIUS has been installed it needs to be configured for our requirements. This article by Dirk van der Walt, author of FreeRADIUS Beginner's Guide, will help you to get familiar with FreeRADIUS. It assumes that you already know the basics of the RADIUS protocol.

In this article we shall:

  • Perform a basic configuration of FreeRADIUS and test it
  • Discover ways of getting help
  • Learn the recommended way to configure and test FreeRADIUS
  • See how everything fits together with FreeRADIUS
Read Getting Started with FreeRADIUS in full

NHibernate 3: Creating a Sample Application

by Dr. Gabriel Nicolas Schenker | September 2011 | Open Source

In this article we will see how easy it is to use NHibernate in a real world application. We will create, with minimal effort, a fully working sample that allows us to write to and subsequently, read data from a database.

In this article by Dr. Gabriel Nicolas Schenker, author of NHibernate 3 Beginner’s Guide, we shall:

  • Prepare our system to enable development of applications using NHibernate
  • Create a simple model of a problem domain
  • Create a database and define a mapping between the model and the database
  • Write and read data to and from the database
Read NHibernate 3: Creating a Sample Application in full

How to Add Static Material to a Course in Moodle

by William Rice | September 2011 | Moodle Open Source

Static course materials are resources that students read but don't interact with, such as web pages, graphics, and Adobe Acrobat documents. This article teaches you how to add such resources to a course, and how to make the best use of them.

In this article by William Rice, author of Moodle 2.0 E-Learning Course Development, we will cover:

  • Kinds of static course material that can be added
  • Adding links
  • Adding pages
  • Adding files for your students
  • Adding media
  • Organizing your course
  • Restricting access by date or score
Read How to Add Static Material to a Course in Moodle in full

HTML5 Games Development: Using Local Storage to Store Game Data

by Makzan | September 2011 | Beginner's Guides Open Source Web Graphics & Video

Local storage is a new specification from HTML5. It allows a website to store information in the browser locally and access the stored data later. This is a useful feature in game development because we can use it as a memory slot to save any game data locally in a web browser.

In this article by Makzan, author of HTML5 Games Development by Example - Beginner's Guide, we are going to add game data storing to a CSS3 memory matching game. Besides storing and loading the game data, we will also notify the player for breaking a record with a nice 3D ribbon with pure CSS3 styling. Specifically, we will cover the following topics:

  • Storing data by using HTML5 local storage
  • Saving the object in the local storage
  • Notifying players for breaking a new record with a nice ribbon effect
  • Saving the entire game progress
Read HTML5 Games Development: Using Local Storage to Store Game Data in full

jQuery UI 1.8: The Accordion Widget

by Dan Wellman | September 2011 | Open Source

The accordion widget is a UI widget that allows you to group content into separate panels that can be opened or closed by visitor interaction. Therefore, most of its content is initially hidden from view, much like the tabs widget.

In this article by Dan Wellman, author of jQuery UI 1.8 The User Interface Library for jQuery, we are going to cover the following topics:

  • The structure of an accordion widget
  • The default implementation of an accordion
  • Adding custom styling
  • Using the configurable options to set different behaviors
  • Working with methods for controlling the accordion
  • The built-in types of animation
  • Custom accordion events
Read jQuery UI 1.8: The Accordion Widget in full

Yii 1.1: Using Zii Components

by Alexander Makarov | September 2011 | Open Source PHP Web Development

Yii is a very flexible and high-performance application development framework written in PHP. It helps building web applications from small ones to large-scale enterprise applications. The framework name stands for Yes It Is.

In this article by Alexander Makarov, author of Yii 1.1 Application Development Cookbook, we will cover:

  • Using data providers
  • Using grids
  • Using lists
  • Creating custom grid columns
Read Yii 1.1: Using Zii Components in full

Windows Phone 7 Silverlight: Location Services

by Jonathan Marbutt Robb Schiefer Jr. | September 2011 | Cookbooks Microsoft

In this article by Jonathan Marbutt and Robb Schiefer Jr., authors of Windows Phone 7 Silverlight Cookbook, we will take a deep dive into the location API for Windows Phone 7 by building an application to help navigate during travel and another to map the user's location.

In this article we will cover:

  • Tracking latitude and longitude
  • Tracking altitude, speed, and course
  • Saving battery by using a location wisely
  • Using location services with the emulator
  • Mapping your location
Read Windows Phone 7 Silverlight: Location Services in full

Plone 4 Development: Creating a Custom Workflow

by Martin Aspeli | August 2011 | Content Management Open Source Web Development

Plone is a web content management system that features among the top two percent of open source projects and is used by more than 300 solution providers in 57 countries. Its powerful workflow system, outstanding security track record, friendly user interface, elegant development model, and vibrant community makes Plone a popular choice for building content-centric applications. By customizing and extending the base platform, integrators can build unique solutions tailored to specific projects quickly and easily.

In the previous article by Martin Aspeli, author of Professional Plone 4 Development, we took a look at the building blocks of Zope security.

In this article we will:

Read Plone 4 Development: Creating a Custom Workflow in full

Xcode 4 ios: Displaying Notification Messages

by Steven F Daniel | August 2011 | Open Source

This will focus on the different methods in which we can make our applications communicate and grab the user's attention. You may, for instance, want to notify the user that an error has occurred, or that the user will need to wait while information is being retrieved or saved.

In this article by Steven F. Daniel, author of Xcode 4 iOS Development, we will:

  • Explore and use the different notification methods
  • Learn how to generate alerts to notify the user
  • Learn how to go about using action sheets to associate with views
  • Handle alerts via sounds and vibrations
Read Xcode 4 ios: Displaying Notification Messages in full

Plone 4 Development: Understanding Zope Security

by Martin Aspeli | August 2011 | Content Management Open Source Web Development

Security should never be an afterthought when building web applications. Zope and Plone provide a robust and flexible security model that lets us worry about our application logic instead of thinking too much about how to lock it down, so long as we understand a few basics.

In this article by Martin Aspeli, author of Professional Plone 4 Development, we will explain the building blocks of Zope security: users, roles, and permissions.

Read Plone 4 Development: Understanding Zope Security in full
Code Download and Errata
Packt Anytime, Anywhere
Register Books
Print Upgrades
eBook Downloads
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