 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
NetTuts.com: Build Ajax Data Grids with CodeIgniter and jQuery
by Chris Cornutt September 23, 2011 @ 12:23:59
In a new tutorial from NetTuts.com today they show you how to combine a CodeIgniter-based backend and a jQuery frontend to make a simple Ajax data grid of data pulled from a database.
In this lesson, we will create a CodeIgniter library that allows us to generate data grids automatically for managing any database table. I'll explain each step required to create this class; so you'll likely learn some new OOP techniques/concepts in the process! As a bonus, we'll proceed to write some jQuery code that will enable a user to update the data grid's content without having to wait for a page refresh.
The tutorial's broken up into a few different steps, each complete with descriptions and plenty of code ready for cut-and-paste:
- Build a Data Grid Generator Class (a helper in PHP)
- Testing the Datagrid Helper Class with a CodeIgniter Controller
- Implementing Ajax (jQuery to the Rescue!)
- Check All or Nothing!
You can also download the source for all of the scripts if you'd like to dive right into the code.
voice your opinion now!
data grid ajax jquery codeigniter framework tutorial
Kae Verens' Blog: Extracting a sudoku puzzle from a photo
by Chris Cornutt February 04, 2009 @ 12:57:18
Kae Verens has posted a cool little application of how to pull information out of a photo and parse it with the GD library. His example is a visual sudoku solver (part one, at least).
The plan for this one is that, if you're doing a sudoku puzzle in the pub or on the train, and you get stuck, you just take a snapshot of the puzzle with your camera-phone, send the photo to a certain mobile number, and a few seconds later the solution is sent back as an SMS message. The solution costs you something small - 50 cents, maybe.
The script looks at a picture of a sudoku puzzle, converts it to b&w and tries to find the squares surrounding each position of the board. With these measurements, the next step is to grab the numbers already in the puzzle and hand those off to the puzzle solver to be processed.
voice your opinion now!
extract sudoku puzzle number grid photo solve textmessage
Richard Thomas' Blog: jQPie 0.3 released
by Chris Cornutt April 30, 2007 @ 08:36:00
Richard Thomas has released the latest version of his extensible framework today - jQPie 0.3.
The main thing in this release is the addition of an auto complete and a grid example based of the extjs library, One thing to keep in mind the css files provided by extjs will overrun pretty much any css you have, the main one being ext-all.css, It seems some things are set in here that are required for the examples to work but at the same time it styles pretty much every element in existence.
jQPie is a "a lightweight PHP interface to jQuery. The lightweight interface allows multiple ways to interact." It also has a plugin interface that allows other modules to be built on to the core functionality. Check out its wiki for more information.
voice your opinion now!
jqpie release example css autocomplete grid jqpie release example css autocomplete grid
Pádraic Brady's Blog: Redux First Official Code!
by Chris Cornutt October 19, 2006 @ 08:28:00
In the continuing development of his online PHP-based game, Pádraic Brady has created a simple class to help with mapping out the objects/structures in the game. He shares the code for this in his latest blog post.
The code sets the stage for the Redux mapping system. Basically, we're aiming at a grid-based map with each grid coordinate representing a Sector.
Right now, it's just a skeleton structure, but it already has some of the key bits of functionality in place. The Redux_Map class manages the requests coming back and forth between the client and server, and the Redux_Map_Grid class helps to generate a grid structure of the objects found in that sector.
He even includes the unit tests for testing the Redux_Map_Grid class to ensure everything's in tip top shape. Next on his list is adding actual entities to the game - planets, facilities, etc.
voice your opinion now!
game online skeleton class grid map manager game online skeleton class grid map manager
Community News: EncoderCompare.com Launched
by Chris Cornutt September 11, 2006 @ 11:06:00
When it comes to protecting your code, you definitely want to find the right product for your needs. Finding the information on all of the encoders out there can be a task in itself, though. Fortunately, EncoderCompare.com has been created to give you a quick and easy reference.
Whilst we would always recommend the use of the ionCube Encoder product to protect your PHP source code when distributing your product to customers and users, there are several other products available to choose from.
To help with this, we have launched a comparison website which lists the available encoders and compares their features. The feature set is standardised so that it is possible to compare like for like in a clear manner.
Currently, there's fifteen encoders listed with all of their stats - protection types, restrictions available, what OSes it has loaders for, the availability of licensing, and the pricing. There's links to get more specific information on each as well.
voice your opinion now!
encoder compare grid name protection restriction loader licensing pricing encoder compare grid name protection restriction loader licensing pricing
|
Community Events
Don't see your event here? Let us know!
|