Welcome to the New RealTown! Submit Feedback

RealTown's Framework

Discussion List
Group Organizer
Mar 12, 2008 5:48:47 PM
This post has not been rated.

We have been making some significant changes to RealTown and one of them includes a rewrite of the base code. Initially, RealTown was created entirely from scratch, but once the site began to grow, so did our code base. The biggest obstacle for our developers was the learning curve -- not only did they have to know PHP, but they had to learn RealTown's custom PHP code.

After many discussions and meetings, we came to the conclusion that RealTown needs to be in a framework. A framework is a common set of programming code that developers can learn once and use to build many sites. Most frameworks also have a very large developer community, meaning our own development questions can be answered from people outside our 4 walls.

Once we were certain that a framework was necessary, we had to answer the next big question: which framework to choose?

If you're a PHP developer, you probably have heard of or even used several of the popular frameworks out there. You may have even written your own. We needed something that was not only powerful but had a strong user community. Our two main choices were CakePHP and Zend Framework.

To help familiarize ourselves with the two frameworks, we dove right in to rebuilding some of our applications in them. CakePHP had the best learning curve, where we could have a basic CRUD (Create/Read/Update/Delete) application up in less than an hour. We began rebuilding our Communities application in CakePHP, and we are currently in the process of migrating each of the Communities over to the new platform.

To check out the new Communities, click here.

Part-way through the development of the new Communities, we decided to explore the Zend Framework. Setting up a website took a little more time than it did with CakePHP, but once everything was configured it started to become easier.

It was around this time that we decided we need to let our own RealTown members create their own communities. We decided to tackle this project as a completely new application written in the Zend Framework. The learning curve of Zend Framework paid off as it is extremely powerful and flexible once you get the hang of it.

The "Member Communities" that you are seeing here is powered by the Zend Framework. Also, the "login" page is also now powered by the Zend Framework to take advantage of its powerful Zend_Auth component.

Working with two frameworks can be just as confusing as developing under a custom one, so we are slowly rewriting the entire website in the Zend Framework.

The first of RealTown's current applications to be re-written in Zend is the RealTown Articles. The new Articles application will have new features and better usability, especially in the area of comments. We will then rewrite the rest of RealTown, starting with the homepage. The Blogs application is going to be re-written as well, so you longer will need to be redirected to the old "realtownblogs.com" web server for managing your blogs.

Group Member
Mar 20, 2008 8:06:17 AM
This post has not been rated.

 Re: last paragraph of Hector's post.

Yeah! It's making me nuts trying to figure out all the different entry points I have to go to in order to get things done. And it sometimes seems like none of them pass along the login info. I am sooooo glad to hear about this. Not so much happy about the Zend thing though; I'm not Buddhist. :-)  I guess it's really none of my business.

Group Organizer
Mar 20, 2008 5:59:45 PM
This post has not been rated.
Buddy said,

Yeah! It's making me nuts trying to figure out all the different entry points I have to go to in order to get things done. And it sometimes seems like none of them pass along the login info.

We have noticed this as well and will be looking into it tomorrow. We believe we may have a solution that will allow you to maintain your RealTown authentication across all RealTown applications, including a "return to the page I was trying to get to" option on the login screen.

Group Member
Apr 3, 2008 5:05:05 AM
This post has not been rated.

I submitted a lengthy discussion late on 4/2/08 related to Hector's original March 12th post on this (Framework) topic thread.

There were no error messages or any other indications of a problem when I hit the Submit button yet I don't see my 4/2/08 post in this thread.

Group Organizer
Apr 3, 2008 9:02:44 PM
This post has not been rated.

I submitted a lengthy discussion late on 4/2/08 related to Hector's original March 12th post on this (Framework) topic thread.

There were no error messages or any other indications of a problem when I hit the Submit button yet I don't see my 4/2/08 post in this thread.

Hi Dave,

I'm not sure why your post would not have appeared here. This group is set to auto-approve all new messages, so there may have been some other problem that I'm not aware of.

I will check in our database tomorrow to see if your post somehow got assigned to the wrong group (but I highly doubt it).

Thanks for letting me know.

Discussion List

Reply to Discussion

Please log in to post a reply to this discussion.
Express Copy ACRE Course