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

Sameer Borate:
Create a quick REST API using Slim framework
Mar 16, 2015 @ 15:16:40

Sameer Borate has a quick tutorial posted showing how to create a basic REST API with Slim, the popular microframework for PHP.

During a recent client project, I frequently needed to access a remote database table and update the same for certain fields. This was accomplished using phpMyAdmin on the server. However, it was getting tedious and was prone to accidental updates and deletes. [...] This is all a tedious process and prone to errors. One solution was to create a quick REST api wrapper around the remote database, using which developers could update the database table without any risk of corrupting the data and also with the added benefit of updating the table programmatically.

He uses an example of working with student data (SQL for the table included) and helps you get Slim installed and working with an Apache install. He covers the overall structure of the API he's creating and the code to help make it happen. Obviously he doesn't share the entire codebase - that would be too large. He does show examples of GET and POST requests for the student data to give you something to work from. He finishes the post with a few simple cURL calls to make requests to the API and the responses.

tagged: rest api tutorial slim microframework example student

Link: http://www.codediesel.com/php/create-a-quick-rest-api-using-slim-framework/

Community News:
phpBB Participates in the Google Summer of Code
Mar 13, 2014 @ 16:54:24

As is mentioned in this new post to the phpBB forums, the project is participating in the Google Summer of Code project this year. phpBB is one of the longest running, widely used open source PHP forums software.

With two years of participation under our belt, I am glad to announce that phpBB is once again taking part in the Google Summer of Code (GSoC) program this year. Google's Summer of Code program encourages students to get involved in free and open source software (F/OSS) by pairing them up with experienced mentors in popular F/OSS projects.

If you're interested in working on the phpBB project this year, check out their Ideas page for some examples of things they're wanting to work on. You'll need to be familiar with the git version control system to do the work and will need to apply to be considered for this year's event.

tagged: phpbb community google summerofcode student

Link: https://www.phpbb.com/community/viewtopic.php?f=14&t=2231996

Community News:
Canadian "Ultimate Coder Battle"
May 14, 2009 @ 17:58:15

For the Canadians that wanted to get in on the WinPHP Challenge but couldn't because, well, where you live, there's good news (as pointed out by Stuart Herbert) - Mircosoft has announced the Ultimate Coder Battle event.

The premise is quite interesting: one student and one professional developer will be the chosen finalists, and they will battle head to head at the "Make Web Not War" conference. The winner walks away with substantial cash prizes - $5000 with another $5000 in bonus awards available. Entries close 3rd June.

Unlike in the WinPHP Challenge, you can use both a new application or a port of an older application as your entry. One application will be chosen for each of the two categories (Professional and Student) and prizes will be awarded to them along with the runners-up. Extra bonuses will be given out for developers that use .NET/PHP together the best as well as other various prizes.

You can get more information about the event from the main site or just head over and register right away. Remember, the deadline is June 3rd so hurry!

tagged: professional student contest windows ucb09 microsoft

Link:

Community News:
Purchase Your PHP Unconference Tickets Now! (Sept. 12th/13th, 2009)
Mar 12, 2009 @ 12:21:03

The PHP Unconference group (putting on the meetup in Hamburg, Germany in September) has announced that tickets are now officially on sale for the event.

The PHP User Group Hamburg and the Department of Computer Science, University Hamburg, Germany are delighted to invite you to the third PHP Unconference. The main focus of the unconference is PHP and related web technologies. There is no official agenda; anyone can suggest a session. The PHP Unconference 2009 will take place on September 12, 2009 and September 13, 2009 at the Geomatikum, Hamburg University. See the location on Google Maps: http://tinyurl.com/bu5mom.

The tickets cost 25 Euro for both days (Sept 12th & 13th), but students of the Hamburg University can get in for free. You can find out more about the event on the unconference's site and you can reserve your spot now by purchasing your ticket.

tagged: phpunconference unconference ticket buy student euro

Link:


Trending Topics: