What we have at the moment is a very simple project management system
which is very hard to extend without modifying / hacking core files. (I
believe Cesár was working on a way to modularise the current code, but
he doesn't seem to have been around lately)
I propose that we start work on a new branch of the project (A complete
rewrite) which we would aim to release as 1.0.
Some major features I think would be good:
ACL Permissions
Modules / Plugins
Events / Hooks
External API
Routing / Friendly urls
This also gives us the chance to create a framework which "makes sense"
(Currently Base classes can be quite confusing / annoying). I have been
looking at two popular frameworks recently - Codeigniter & Kohana.
Kohana is a PHP 5 fork of CodeIgniter, so they both share similar traits.
The thing I like about them is that the core system classes can be
overridden easily by prefixing the class name with MY_. Kohana also has
an events system and allows for modularised code out of the box.
It may be better for use to code our own framework for projectpier so
that we know what's going on, but they're good examples of light weight
frameworks.
I'd appreciate any feedback / suggestions that you have on this subject
Alex
--
Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.138 / Virus Database: 270.5.4/1566 - Release Date: 22/07/2008 06:00
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Projectpier-development mailing list
Projectpier...@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/projectpier-development
there is no notion of legacy system running on the old version for example
�������wb��b�)ܢh��g��� ���[� FU�슉��]��X���ڵ�ڱ�Ӟ�מ�E�^jǃj��;�m4�N���ke===
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Projectpier-development mailing list Projectpier...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/projectpier-development
-- Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message. Checked by AVG. Version: 8.0.138 / Virus Database: 270.5.6/1572 - Release Date: 25/07/2008 06:51
I'm a bit confused as to what you mean by:
there is no notion of legacy system running on the old version for example
> The current "stable" version of PP is currently 0.8.0.2. Since the
> project was initially forked from Activecollab no significant features
> have been added to the codebase and we are essentially sitting on
> Activecollab 0.7.1 + a few bug fixes / minor enhancements.
The fact that this is aC plus the bug fixes and enhancements was what
made me want to use it. It is a simple and effective manager, easy to
use and really gets the job done, I would add a few little extras,
like some already mentioned on the forums and this list, but would
keep the thing that made aC a great software, it's simplicity.
So I look at this proposal with some skepticism.
What would this rewrite bring us? Or better yet, in what way would
this rewrite be done, what are the main focus of the work? Will
compatibility with aC's database be kept or any conversion tool be
added?
My fear is that the software I started to use, and have been
recommending, will be dropped, and no upgrade will be possible.
Like Timothée said, it's important to know where the project's going
and what will happen to the current version and all it's users
That said, and having looked at the current code, bugs count and type,
I'm all for a rewrite.
--
Sem mais e com os melhores cumprimentos,
Sérgio Lopes
He's set a lot of good targets in that email, however I feel that it
might be easier for us to rewrite the core and complete the targets as
we go along instead of hacking the current core.
@George, I think it'd be better if we made our own framework for PP,
instead of marketing it as a 'CodeIgniter based app / EE addon'.
CodeIgniter is a good framework, however it's not really suitable for PP
imo.
> The fact that this is aC plus the bug fixes and enhancements was what
> made me want to use it. It is a simple and effective manager, easy to
> use and really gets the job done, I would add a few little extras,
> like some already mentioned on the forums and this list, but would
> keep the thing that made aC a great software, it's simplicity.
>
I'm sure that everyone who uses PP agrees with you on this point.
> What would this rewrite bring us? Or better yet, in what way would
> this rewrite be done, what are the main focus of the work? Will
> compatibility with aC's database be kept or any conversion tool be
> added?
>
The main aim of the rewrite would be to refactor and improve the
codebase, as well as including some needed / highly requested features
> My fear is that the software I started to use, and have been
> recommending, will be dropped, and no upgrade will be possible.
>
It would be crazy if an upgrade path for the 0.8.* version was not
created :P
> Like Timothée said, it's important to know where the project's going
> and what will happen to the current version and all it's users
>
> That said, and having looked at the current code, bugs count and type,
> I'm all for a rewrite.
>
:)
--
Usually something witty would go here, but as I'm the sort of guy who
doesn't have a catch phrase I'm afraid this is nothing but more than
ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.138 / Virus Database: 270.5.6/1574 - Release Date: 25/07/2008 16:27
If we rewrite PP, we will need a framework that offers Modular
separation, an events system and possibly basic ORM. CodeIgniter
doesn't provide any of these features by default (I know that there's
activerecord, but it's not the same as ORM), so we'd have to extend the
framework.
I also don't think we should use CodeIgniter because EE will be using
it. ProjectPier is a standalone app and I don't think it'd be right to
market it as an 'ExpressionEngine addon'.
If we code PP in a structured way then it will be very easy for it to
integrate with a third party system such as EE.
Then again this is just my opinion,
Alex
> <mailto:Projectpier...@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
>
>
>
>
> --
> Kind regards,
>
> George McGinley Smith
>
> http://gsgd.co.uk
> No virus found in this incoming message.
> Checked by AVG.
> Version: 8.0.138 / Virus Database: 270.5.6/1576 - Release Date: 27/07/2008 16:16
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Projectpier-development mailing list
> Projectpier...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
>
--
Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.138 / Virus Database: 270.5.6/1576 - Release Date: 27/07/2008 16:16
I also don't think we should use CodeIgniter because EE will be using it.
No virus found in this incoming message. Checked by AVG. Version: 8.0.138 / Virus Database: 270.5.6/1576 - Release Date: 27/07/2008 16:16
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Projectpier-development mailing list Projectpier...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/projectpier-development
-- Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message. Checked by AVG. Version: 8.0.138 / Virus Database: 270.5.6/1576 - Release Date: 27/07/2008 16:16
Using of CI ZF or any will gear you 3rd party code and as result work breakdown!
2008/7/29 Alex Mayhew <al...@sigswitch.com>:
At least if PP was written in some framework we could ask for help in
the irc rooms/mailing lists/forums of the framework and get advice.
Right now it runs on a particularly complicated and unsuccessfully
documented framework that even Illija the original author isn't using
(he rewrote it all for aC 1.0).
Of course regardless of the framework, PP does run right now, unlike a
rewrite, so i don't have an opinion on whether to rewrite (i'm also
just a spectator ;)
jer
--
Jeremy Clarke
Code and Design | globalvoicesonline.org
On a side note, here's an email from Ryan that covers his thoughts about
doing a rewrite / port:
I've been watching the thread but holding back my opinion for now so
that everyone else can express their voice.
I would re-iterate your reference to the email regarding the Road Map
that I wrote awhile back, many of my thoughts about this are expressed
there - albeit interspersed in that discussion and not directly
addressing this question. (Side note, several other archive options have
be added for the mailing lists and will slowly be backfilled)
In general, I agree that there are some fairly major/radical changes
that I would like to make to the underlying framework (mostly
file/folder structure) and have considered rewriting/porting PP to
another framework quite extensively. Many of you know that I also work
with Drupal, so on numerous occasions the idea of porting PP to use the
Drupal framework has been considered (and other frameworks/systems)
Also in general, I am very keen on the idea of not re-inventing the
wheel just "because". Which is why the idea of building on top of other
frameworks is very attractive at first glance - which includes building
on top of the current framework.
At this point, I try to assess the decision using a few questions:
1) What does this gain/provide us with? or what problem does this solve?
2) What does this restrict or lose us? also, What does this cost?
3) Are there any other ways of achieving this? and their related merits.
4) Is this in the best interest of the community/project? and is this
what the community wants?
At this point, I think the my opinions in the roadmap represent the
conclusions I have come to from my own answers to these questions.
However, I think this thread could be really useful if we explored the
answers to at least the first 3 questions. After some more discussion, I
can add my specific take on these answers if it is still useful.
Hope that helps,
Ryan Cross
> <mailto:al...@sigswitch.com>>:
> <mailto:Projectpier...@lists.sourceforge.net>
> <mailto:Projectpier...@lists.sourceforge.net>
> >>
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
> >>
> >>
> >> --
> >> Usually something witty would go here, but as I'm the sort of
> guy who
> >> doesn't have a catch phrase I'm afraid this is nothing but more
> than ultra
> >> boring rubbish - which you've been suckered into reading :P
> >>
> >> No virus found in this outgoing message.
> >> Checked by AVG.
> >> Version: 8.0.138 / Virus Database: 270.5.6/1576 - Release Date:
> 27/07/2008
> >> 16:16
> >>
> >>
> -------------------------------------------------------------------------
> >> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> >> Build the coolest Linux based applications with Moblin SDK &
> win great
> >> prizes
> >> Grand prize is a trip for two to an Open Source event anywhere
> in the world
> >> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> >> _______________________________________________
> >> Projectpier-development mailing list
> >> Projectpier...@lists.sourceforge.net
> <mailto:Projectpier...@lists.sourceforge.net>
> >>
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
> >>
> >>
> >
> >
> -------------------------------------------------------------------------
> > This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> > Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> > Grand prize is a trip for two to an Open Source event anywhere
> in the world
> > http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> > _______________________________________________
> > Projectpier-development mailing list
> > Projectpier...@lists.sourceforge.net
> <mailto:Projectpier...@lists.sourceforge.net>
> > https://lists.sourceforge.net/lists/listinfo/projectpier-development
> >
>
>
>
> --
> Jeremy Clarke
> Code and Design | globalvoicesonline.org
> <http://globalvoicesonline.org>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> <http://moblin-contest.org/redirect.php?banner_id=100&url=/>
> _______________________________________________
> Projectpier-development mailing list
> Projectpier...@lists.sourceforge.net
> <mailto:Projectpier...@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
>
>
> �������wb��b�)ܢh��g��� ���[� FU�슉��]��X���ڵ�ڱ�Ӟ�מ�E�^jǃj��;
> �m4�^���ke===
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ------------------------------------------------------------------------
>
> _______________________________________________
> Projectpier-development mailing list
> Projectpier...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/projectpier-development
>
--
Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message.
Checked by AVG.
Version: 8.0.138 / Virus Database: 270.5.10/1585 - Release Date: 01/08/2008 06:39
What do you mean by an "incremental transition"? Copying code over to
the rewrite or refactoring the current code enough so that it's much
easier to copy to a new "setup".
Proposal to rewrite? What is a target? new features, speed and new bugs...
Suppose better to review a roadmap, maybe better to collect most
popular & demanded tasks|features
> At this point, I try to assess the decision using a few questions:
> 1) What does this gain/provide us with? or what problem does this solve?
> 2) What does this restrict or lose us? also, What does this cost?
> 3) Are there any other ways of achieving this? and their related merits.
> 4) Is this in the best interest of the community/project? and is this
> what the community wants?
First of all...
1) It brings a lot of new bugs. Solve some old problems but ...
2) loose compabillity, restrict in support older versions, brings a
lost of old customers and hard way of invit new. Cost is not cheep but
suppose very high!
3) Many ways...
- but first to document current code some way...
- then draw architecture and bottlenecks
- review code (mostly done)
- and only then make proposals! and costs :)
4) What purpose of Community? Bring bugreports & patches, answer a
support questions, collect opinions of features
My opinion is NOT rewrite but overview current state!
2008/8/1 Timothée Boucher <timothe...@gmail.com>:
-------------------------------------------------------------------------
Again and again... A lot of thoughts about ways but what are we talking about? Proposal to rewrite? What is a target? new features, speed and new bugs...
System Helpers Libs
Application Controllers Libraries Vendors ....
Modules
....
....
etc.
At this point, I try to assess the decision using a few questions: 1) What does this gain/provide us with? or what problem does this solve? 2) What does this restrict or lose us? also, What does this cost? 3) Are there any other ways of achieving this? and their related merits. 4) Is this in the best interest of the community/project? and is this what the community wants?
First of all... 1) It brings a lot of new bugs. Solve some old problems but ... 2) loose compabillity, restrict in support older versions, brings a lost of old customers and hard way of invit new. Cost is not cheep but suppose very high! 3) Many ways... - but first to document current code some way... - then draw architecture and bottlenecks - review code (mostly done) - and only then make proposals! and costs :) 4) What purpose of Community? Bring bugreports & patches, answer a support questions, collect opinions of features
-- Usually something witty would go here, but as I'm the sort of guy who doesn't have a catch phrase I'm afraid this is nothing but more than ultra boring rubbish - which you've been suckered into reading :P
No virus found in this outgoing message. Checked by AVG. Version: 8.0.138 / Virus Database: 270.5.12/1597 - Release Date: 07/08/2008 05:54
IMO good starting point to discussions about parts of PP...
You point directions:
Events framework, Modular separation of code, Organised file
structure, ACL, Project Config, Unit tests, Caching
My next 5c - templating (theme layer)
Overview of this tasks lead my thoughts to different.
PP already got good ORM but it needs little bit changed to be more
modular. From this point we need to change core or ORM. At this moment
suppose it is subject-driven but you talk about event-driven ORM. It's
a thinest place of paradigm - architecture! We need more opinions
about!
For example: posting a task. Task class should notify about it's
creation, latter task obj should notify about editing insertion and so
on. Today we add functions to task class to call other objects and
methods. In Alex's proposal we need parent class which already got
methods to subscribe on object events (is it event subscribing?).
Another way 'drupalish' - hook somelike as events but there's no
subscribers just look whole namespace for patern-functions - this way
is flexible but brings a lot of memory scans for function names
(drupal 7 now have a registry of events).
Next a file structures - depends on Architecture. ACL, Config, Caching
is a superclasses there implementations can store data bypassing to
data-layer in different backends.
Render-theme-template should be a pluggable suppose some kind of view as pp has.
Cons: let's take a closer look at current architecture with all +&-.
Most of classes alredy implement whole functionality so we need review
current MVC model and maybe code some abstract classed and pluggin
gates.
Waiting for opinions!
Andy
2008/8/8 Alex Mayhew <al...@sigswitch.com>: