Introducing PWF , a new PHP OOP – MVC web framework.

Discussion for various published PHP frameworks, including Zend Framework, CodeIgniter, Kohana, CakePHP, Yii, Symfony, and others.

Moderator: General Moderators

Post Reply
kon
Forum Newbie
Posts: 19
Joined: Sat Mar 03, 2012 5:43 am

Introducing PWF , a new PHP OOP – MVC web framework.

Post by kon »

I am introducing PWF because if somebody likes it could help by pointing things that could be better , if someone don’t like it I could get feedback from what is that don’t like , and if for someone it is just another framework that has nothing to offer I will get that message too. The site of PWF is http://phpwebframework.com and I started by examples, there are more to come and a documentation (the framework classes are already documented).

What drove me to start developing PWF is that I couldn’t found elsewhere the simple OOP MVC structure that I had in mind (with Controllers chosen by the requested URL’s and method chosen by the request type –onEntry , onPost , onGet). PWF designed to be the core of a web app (now it is 99kb , and will not be too heavier in the future). It doesn’t have fancy utilities but with PWF you can add what ever you like as external or use them as addons (for example why to build a mailer class since PHPMailer does what I want ?).

One other aspect that tried to create with PWF is a framework that can cover most needs creating an app, from PWF.js to templates or view generators classes. I acknowledge that this is a MVC implementation, not fallowed by most frameworks, but it is as clear as it can be. Model is the heart of each app with DataWorkers classes Assigners (that assigns a result to an object or a list of objects) and the db object (that is a child of PDO) instantiating and living in the Controller side.

Thank you in advance for your responses of what you think about PWF.
Last edited by pickle on Tue Apr 17, 2012 4:01 pm, edited 1 time in total.
Reason: Fixing non-parsed URL
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Introducing PWF , a new PHP OOP – MVC web framework.

Post by greyhoundcode »

Just looking at your docs and a couple of things jumped out. The first is just me being picky, but on your hello world example you have misspelled .htaccess.

On the same page, I thought this snippet from the PWF index.php file was strange:

Code: Select all

/* SRC is where the helloWorld source is */
define("SRC","http://phpwebframework.com/http://phpwebframework.com/src/helloWorld");
Last but not least is there a download link? If there is and I missed it perhaps it ought to be a little more prominent.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Introducing PWF , a new PHP OOP – MVC web framework.

Post by pickle »

The URL was there, but the it didn't have a protocol, so it wasn't parsed. I've fixed that & the link now shows up.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Introducing PWF , a new PHP OOP – MVC web framework.

Post by greyhoundcode »

I wonder if we are talking about two separate things? I meant a download link for kon's framework.
kon
Forum Newbie
Posts: 19
Joined: Sat Mar 03, 2012 5:43 am

Re: Introducing PWF , a new PHP OOP – MVC web framework.

Post by kon »

Thank you greyhoundcode and pickle for you comments so far.

You are right , the download links should have been more prominent. So in every download link I added a button that can be missed and renamed the Getting Started page to Getting Started – Download (for the current version download of PWF).

I have misspelled .htacces (so I fixed it to htaccess). The problem with the SRC constant in helloWorld had to with how I used a WYSIWYG editor. It should be ../../src/helloWorld but I replaced in content what ever ../ with the domain rout, I fixed the way that I am doing the replacement and now is ok.

I have also tried to find a download link with no protocol but I didn’t. Again thank you for pointing out those in order to fix them.
Post Reply