I dabbled with pureMVC a few months ago in the flash/flex world, and recently I've been evaluating some php MVC frameworks and remembered that pureMVC was ported to all sorts of platforms - so I came back.
I guess I'll start with a few questions:
1) Licensing: I saw this FAQ item http://puremvc.org/content/view/83/188/
but it hasn't been updated in a year. I was wondering if indeed the main pureMVC code will go MIT and whether the php port will become licensed under MIT. Having played in open source circles for the past 5 years I can say with pretty good confidence that the MIT license would address everything that Cliff mentions in the answer to the FAQ.
If its a question of "work", I'll be glad to patch the files to include the new license
There is also the option of dual licensing the code if the powers that be want to give people the option to use the CC license instead of the MIT license. Just a thought.
Of course I can live with CC, its just a bit odd (as in different).
2) This is a more technical question regarding porting multicore:
In the case of other languages I can see the use cases for running multicore right away. I was wondering if anyone has imagined a use case in the php world. I'm currently in my architecting phase for my app and still in the 'wrap my head around' pureMVC for php phase. I have yet to see a need for multicore, but maybe its because I haven't coded enough to have run into a wall that singlecore puts in my path.
3) This is a general question on architecting php apps with pureMVC and libraries:
I saw this thread http://forums.puremvc.org/index.php?topic=1234.0
where zermattchris (http://forums.puremvc.org/index.php?action=profile;u=1419
) asks about how to do routing.
(I may have a more specific question about this later) Obviously this is a rather common task in bigger php apps. i.e. routing URLs to execute the appropriate code within the php application. Other common tasks are session handling w/ authentication etc.
So it would seem to me the best way to handle some of these common tasks is to build a few 'libraries' or 'modules' of code. I would guess that I would write up some command classes proxies and mediators and bundle them together in a folder somewhere in my app and include them as needed in the main project. My question I guess is has anyone done something a bit more complex in php pureMVC where they've built reusable bundles like this? Are there any gotchas? Have these bits of work been contributed somewhere?
I guess I'm looking for some best practice advice for the php world. Cliff's best practices docs on AS3 are great but a) folder structure best practice advice isn't explicit (assumes AS3 world and its best practices) b) a bit off topic, but the code exampes are in AS3
4) As I was typing the last question, I realized part of what I was asking was:
How big is the php pureMVC 'community'? Or has the port simply been an academic exercise that's just kind of sitting here waiting for a community to form? As mentioned before, I haven't run across any 'contributed modules' (e.g. a routing library) on the web.
5) Kind of leads me to my next question: As I tinker I may likely end up writing chunks of code that may be reusable for others. Besides posting on my own blog or having it in my own repository is there someplace else I could/should be posting things?
Anyway - besides all the questions, I just wanted to say that I like what I've seen so far. I managed to write up my first 'hello world' app in no time (granted it wasn't pulling hello world from 3 different data sources and it didn't spit it out into a themeable templating engine), but its a start. I'm going to take it a bit farther today.