Page 1 of 1

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

Posted: Tue Apr 17, 2012 10:49 am
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.

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

Posted: Tue Apr 17, 2012 3:51 pm
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.

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

Posted: Tue Apr 17, 2012 4:01 pm
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.

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

Posted: Tue Apr 17, 2012 5:02 pm
by greyhoundcode
I wonder if we are talking about two separate things? I meant a download link for kon's framework.

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

Posted: Wed Apr 18, 2012 3:41 am
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.