Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

NetTuts.com:
Build Ajax Data Grids with CodeIgniter and jQuery
Sep 23, 2011 @ 17: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.

tagged: data grid ajax jquery codeigniter framework tutorial

Link:

Superdit.com:
Google Web Seach With ExtJS Grid and PHP
Aug 09, 2011 @ 17:45:27

From Superdit.com there's a tutorial showing you how to display search results in an ExtJS grid as pulled from Google's API. The article's from the beginning of the year, but it's a good self-contained example of using ExtJS to automatically pull in data produced from the backend.

This time I want to make a simple example in displaying google web search result in ExtJS grid, other ExtJS component that can be used to displaying this result is dataview, but grid is more common in displaying data in ExtJS.

The code (downloadable here) is pretty simple and the full CSS, Javascript, PHP and markup you'll need are included. The PHP pulls the results from the Google API and

JSON encodes them for loading into the ExtJS grid. You can see the end result here or try out a demo.
tagged: google search api json extjs grid tutorial css

Link:

Kae Verens' Blog:
Extracting a sudoku puzzle from a photo
Feb 04, 2009 @ 18: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.

tagged: extract sudoku puzzle number grid photo solve textmessage

Link:

Richard Thomas' Blog:
jQPie 0.3 released
Apr 30, 2007 @ 13: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.

tagged: jqpie release example css autocomplete grid jqpie release example css autocomplete grid

Link:

Richard Thomas' Blog:
jQPie 0.3 released
Apr 30, 2007 @ 13: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.

tagged: jqpie release example css autocomplete grid jqpie release example css autocomplete grid

Link:

Pádraic Brady's Blog:
Redux: First Official Code!
Oct 19, 2006 @ 13: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.

tagged: game online skeleton class grid map manager game online skeleton class grid map manager

Link:

Pádraic Brady's Blog:
Redux: First Official Code!
Oct 19, 2006 @ 13: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.

tagged: game online skeleton class grid map manager game online skeleton class grid map manager

Link:

Community News:
Senza Limiti Acquires Ajax-based PHP Grid, Plans to Open Source It
Sep 14, 2006 @ 20:47:10

A press release has been published from Senza Limiti about their acquisition of the PHPScripts.se's Ajax-enabled DataGrid component and intentions to release it under both an Open Source license and a commercial license (like MySQL has done).

The PHP Grid is an Ajax-based table component that shows database information in a good looking, easy to use way. All user actions are performed in real time, on the client side, giving instant feedback and providing a desktop-like user experience. Among its features are Excel support and an automated print function that presents the table in a printable format. It also allows instant editing of database rows.

You can get the complete details on the component from these pages on Senza Limiti's website.

tagged: data grid open source acquire ajax release commercial data grid open source acquire ajax release commercial

Link:

Community News:
Senza Limiti Acquires Ajax-based PHP Grid, Plans to Open Source It
Sep 14, 2006 @ 20:47:10

A press release has been published from Senza Limiti about their acquisition of the PHPScripts.se's Ajax-enabled DataGrid component and intentions to release it under both an Open Source license and a commercial license (like MySQL has done).

The PHP Grid is an Ajax-based table component that shows database information in a good looking, easy to use way. All user actions are performed in real time, on the client side, giving instant feedback and providing a desktop-like user experience. Among its features are Excel support and an automated print function that presents the table in a printable format. It also allows instant editing of database rows.

You can get the complete details on the component from these pages on Senza Limiti's website.

tagged: data grid open source acquire ajax release commercial data grid open source acquire ajax release commercial

Link:

Community News:
EncoderCompare.com Launched
Sep 11, 2006 @ 16: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.

tagged: encoder compare grid name protection restriction loader licensing pricing encoder compare grid name protection restriction loader licensing pricing

Link:


Trending Topics: