News Feed
Jobs Feed
Sections




News Archive
feed this:

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

SitePoint PHP Blog:
Building a Simple Blog App with MongoDB and PHP
March 14, 2014 @ 09:19:36

On PHPMaster.com there's a recent tutorial posted showing you the creation of a simple blog application with MongoDB + PHP. It's a basic overview, so it's mostly about creates and reads, but it does help get things working.

If you want to create a blog using MongoDB and PHP, this article will teach you. [...] The reason I chose to build a blog application is because it is a basic CRUD application and it is very suitable for easing into PHP and MongoDB web development. We will build a plain user interface using Bootstrap with simple textboxes and buttons. A MongoDB database will store all the content.

He starts off by introducing MongoDB and some of the basic concepts around databases, collections and documents as they relate to it. He then moves into the installation process, getting and configuring a simple MongoDB instance running on localhost. He helps you get the MongoDB PECL driver installed for PHP and includes a bit of code to test the connection. Finally, he gets into the blog example itself and includes the full code to get it up and running.

0 comments voice your opinion now!
tutorial blog application sample introduction mongodb database

Link: http://www.sitepoint.com/building-simple-blog-app-mongodb-php/

CodeHeaps.com:
Creating a Blog Using Laravel 4 (Series)
February 18, 2014 @ 10:53:20

The CodeHeaps.com tutorial site, they've posted the latest in their tutorial series creating a blog with the popular Laravel framework. In the first part they looked at models and database seeing, in part two they focused on controllers and in this latest part they focus on routing.

In this article we will create a simple blog using Laravel 4. Our blog application will have the following features: display posts with read more links on home page, search posts on blog, display a single post with comments and allow users to post comments. Administrator will be able to perform CRUD operations on posts and comments [and ] will be able to moderate comments.

In the three parts so far they show some simple migrations to create the "posts" and "comments" table and some basic (lorem ipsum) content. They create a basic "blog" controller and login functionality to identify the current user. Finally, they create the routing to hook it all together including some "before" hooks and authentication protection on the administrative areas.

0 comments voice your opinion now!
series tutorial laravel framework blog beginner model controller routing

Link: http://www.codeheaps.com/php-programming/creating-a-blog-using-laravel-4-part-3-routing/

Samantha Quinones:
Project Laravel - Session 1 First impressions
February 10, 2014 @ 10:18:54

Recently Samantha Quinones started out a new project with Laravel to find out more about this popular framework. In her latest post she shares some of her first impressions of working the initial steps of her application.

I was super excited when I found a couple of free hours to finally sit down with Laravel and kick off my little blog project. That two hour time box turned out to be pretty important to this effort. [...] I won't go in to details on a topic as well-trod as that, but I think it speaks extremely highly of Laravel's approachability that I was able to build out a reasonably rich authentication system in a little more than an hour, including command-line tools to provision and manage users.

She also talks some about some of the things she "wasn't quite comfortable with" like the framework's use of facades. She mentions a post from Taylor Otwell to help explain some of the non-facade methods and suggests that if some of this and the "magic" with the dependency injection container were mentioned in the documentation, the framework might receive a bit less criticism for them.

0 comments voice your opinion now!
project laravel blog framework first impressions

Link: http://www.tembies.com/2014/02/project-laravel-first-impressions/

SitePoint Web Blog:
Is Ghost Really a WordPress Killer?
November 13, 2013 @ 11:19:32

The WordPress platform has become one of the de-facto standards when it comes to blogging and content management sites. In this new post, though, SitePoint wonders if a new competitor in the market is enough to unseat WordPress from its high ranking - Ghost.

When someone mentions the term blogging platform your mind likely brings up thoughts of WordPress, or maybe Blogger.com. It did, didn't it? While those two platforms have clearly carved out a respectable slice of the world's blogging population, there remains a void left unfilled. This gap in platforms was largely created by the incredible popularity and growth of the blogging world itself. [...] This new entrant goes by the stealthy moniker Ghost. A fitting name really, given it's unapologetic focus on no­frills web publishing.

They go through this new tool, spotlighting some of the features it offers and the extensibility it offers (complete with screenshots). While Ghost is a Node application (unlike its PHP counterpart) it's still relatively easy to get up and running. They do admit, however, that the title of the article is a bit inflammatory. Ghost and WordPress have different target audiences and widely different feature sets, but in the blogging realm, Ghost provides an interesting alternative.

0 comments voice your opinion now!
ghost wordpress blog overview tour simple

Link: http://www.sitepoint.com/ghost-really-wordpress-killer/

Dougal Campbell:
WordPress 10th Anniversary Blogging Project
May 02, 2013 @ 10:22:48

Dougal Campbell has a new post to his site with his own contribution to the "WordPress 10th Anniversary Blogging Project" - a remembrance of his history with the tool and where/when he first started using it.

The official 10th anniversary of the release of WordPress is May 27, 2013. It has been an amazing 10 years, during which WordPress evolved from a simple blogware to a very full-featured CMS (Content Management System), used to power some of the biggest and most popular web sites on the internet. All over the world, people are planning celebrations. As much as I like a good party, I thought this would also be a good time to celebrate WordPress by actually using WordPress - for blogging.

He talks some about when he got started with WordPress (2003) and what's happened since. He suggests that others follow suit and use the "#wp10" hashtag on Twitter to share their own posts.

0 comments voice your opinion now!
wordpress tenth anniversary blog project history

Link: http://dougal.gunters.org/blog/2013/05/01/wordpress-10th-anniversary-blogging-project

Brandon Savage:
Best PHP Blogs To Follow
February 19, 2013 @ 11:51:17

Brandon Savage has posted a list of blogs he suggests following for those interested in the PHP community including (disclaimer) PHPDeveloper.org itself.

A lot of people, especially when starting out in PHP, ask me "what blogs should I read?" There are a lot of great PHP blogs (you can see a nearly complete list of them at Planet PHP) but there are a few that I read on a regular basis and I feel are important.

His list includes PHP community members like Matthew Weier O'Phinney, Chris Hartjes, Anthony Ferrara and the PHPMaster.com site from SitePoint. Check out the full list for more great blogs.

0 comments voice your opinion now!
best blog follow opinion community phpmaster


Community News:
Privates - Harmful or Useful? (Discussion)
December 12, 2012 @ 09:53:57

There's been a few articles posted on various blogs in the PHP community recently about the "most correct" usage of the "private" scope in your PHP applications. As with any feature of just about any language out there, there's people on both sides of the fence. Here's the ones that have weighed in so far:

  • Brandon Savage's initial post (an excerpt from his upcoming "Do This, Not That" book)
  • A response to this from Anthony Ferrara
  • Brandon's own response to comments on his previous article
  • This new post from Larry Garfield and some of his experience from the Drupal world

Various topics come up during these posts including static coupling, using interfaces versus inheritance, wrapper classes and developer intent.

0 comments voice your opinion now!
private scope visibility harmful blog


Community News:
PHP Manual Masterpieces (Humor)
October 16, 2012 @ 10:10:52

A new blog has started up that mentions some of the "masterpieces" that occur in the PHP manual - phpmanualmasterpieces.tumblr.com:

Sparkling gems found in the official PHP documentation, mostly in the user-submitted comments. Not meant to pick on anyone, just to serve as a source of wonderment.

There's already several posts to the blog including:

You can subscribe to their RSS feed if you'd like to keep up.

0 comments voice your opinion now!
humor manual quote funny blog


NetTuts.com:
Evolving Toward a Persistence Layer
September 12, 2012 @ 10:51:17

On NetTuts.com there's a new article posted that introduces you to the concept of a persistence layer in a PHP application:

One of the most confusing design pattern is persistence. The need for an application to persist its internal state and data is so tremendous that there are likely tens - if not hundreds - of different technologies to address this single problem. Unfortunately, no technology is a magic bullet. [...] In this tutorial, I will teach you some best practices to help you determine which approach to take, when working on future applications. I will briefly discuss some high level design concerns and principles, followed by a more detailed view on the Active Record design pattern, combined with a few words about the Table Data Gateway design pattern.

Included in the post is a high-level application design with the business logic is at the core and the persistence technology/layer exists outside of it. They show how to create a simple, working solution for a persistence layer to handle a blog post and its contents. It talks about characterization tests, the table gateway design pattern and the possible move to the active record pattern.

0 comments voice your opinion now!
persistence layer tutorial logic blog example


NetTuts.com:
Creating a Flat-File Blog Engine Using Slim
June 19, 2012 @ 08:48:15

On the NetTus.com site today there's a new tutorial showing how to use the Slim microframework to create a flat-file blog system as a stand alone PHP application.

In this article, we will learn how to create a flat file blog engine in PHP using the Slim framework. If you don't understand the jargon, don't worry. We're simply going to create a spartan blogging application, which utilizes text files instead of a database to store data. If you're a beginner, fret not! We will start with the basics of using Slim.

He introduces the Slim framework with a simple route handling to render a basic PHP page (an "About" page), setting variables to output to the template, setting up dynamic routes and creating the setup for the blogging engine (viewing articles, archives and a listing page).

0 comments voice your opinion now!
flatfile blog slim microframework tutorial introduction



Community Events











Don't see your event here?
Let us know!


composer release security unittest opinion facebook package hhvm podcast application symfony2 overview language introduction hack install component performance database framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework