So today we are pround to announce our new opensource project - GnomeWoW, it's a webapplication frontend for the MaNGOS server software. We have created a new page regarding this project in the Projects section.
GnomeWoW will be the first released application based on the GnomePHP framework. So far the development has been very successful and many people are already using GnomeWoW as their own frontend.
We have written forum software and donation software that incorporates into GnomePHP, the forum peiece might turn out as its own application once it has more features.
The development on GnomeWoW is heavy at this time and this is just a start for a great project.
After some thinking we figured we want to create our own unit testing software from scratch. Unit testing in GnomePHP is like using SimpleTest but GnomePHP does not include all those features ( even though we got a pretty huge spector of assert methods to test against values.
The ease of creating unit tests in GnomePHP is fantastic, i mean - i have never had so much fun creating unit tests. The unit tests is a part of the application itself - and thereby integrated nicely into the core of GnomePHP.
Unit testing in GnomePHP is all about writing one router rule ( to run it ) and then writing a test or just use the included unit tests that comes with GnomePHP. Ofcourse, there are not tests that tests your own models and controllers - but we have included tests for the application structure and ofcourse GnomePHP itself.
To test GnomePHP Framework you can just add this specific router rule:
* /testgnome \gnomephp\testsuite\TestGnome.index()
To test your application for missing files and directory structure add this rule:
* /testapp \gnomephp\testsuite\TestApplication.index()
Now just browse to http://example.com/testapp and http://example.com/testgnome for GnomePHP framework tests.
That's not all, you can see more at our wiki pages
GnomePHP just got better! We have introduced the new Router library for our framework. The router configuration setup is inspiered by Play! Framework.
Ease of use and much better intelligence when reversing uri routes is the key of the new library.
Example of the new routing config:
# Default main route
* / Main.index()
GET /news/{id} News.show($id)
# Regexp validation if wanted between <> brackets!
POST /news/{<\d+>id} News.postNews($id)
# /show/test will run controller ShowMethods and method "method": ShowMethods->method()
# Do you see the /? it will pass all the next arguments to the method.
# Meaning we also accept /show/test/1/2/test/3
* /show/{method}/? ShowMethods.$method()
# Extend existing functionality?
{extend=core/captcha}
# Default routing /controller/method
* /{controller}/{method} $controller.$method()
Doesn't that just look beautiful?
Even better, creating links in the views is really simple!
# Will give out link to the main page (eg. mypage.com/ )
echo $view->url->linkTo('Main', index);
A big milestone for us today, cleaning the important bit of the routing and flexibility is huge.
Go to gnomephp.org to download the latest version of GnomePHP.
I have worked with the new design of the website. The old design was poor and it was on time I started with the new design.
At this time I don't got too much time for my opensource projects, since im studying.
When it comes to PeecFW, I have started to open the information sites for the project again, I did this instead of replace PeecFW with GnomePHP. So I want to have 2 separate projects, PeecFW will be a CMS, GnomePHP will be a full stack web application development kit.
PKJ.NO is back in a new shape, with a new platform and a new goal!
We have just got our site up running again. We are working hard to integrate all our wanted features for this site, and trying to get better content up. Our site is no longer a Norwegian site, we are now international.
Take a peek at our new site, browse tutorials and my references! If you are looking for a webdeveloper - contact me!