[geeklog-devtalk] geeklog-devel digest, Vol 1 #464 - 15 msgs
geeklog-devel-request at lists.geeklog.net
geeklog-devel-request at lists.geeklog.net
Mon Dec 20 23:45:02 EST 2004
Send geeklog-devel mailing list submissions to
geeklog-devel at lists.geeklog.net
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.geeklog.net/listinfo/geeklog-devel
or, via email, send a message with subject or body 'help' to
geeklog-devel-request at lists.geeklog.net
You can reach the person managing the list at
geeklog-devel-admin at lists.geeklog.net
When replying, please edit your Subject line so it is more specific
than "Re: Contents of geeklog-devel digest..."
Today's Topics:
1. Welcome Kevin Vidomski (Tony Bibbs)
2. GL2 Login works (Tony Bibbs)
3. Re: Article throttle. (Justin Carlson)
4. Re: Filtering in GL2 (Tony Bibbs)
5. Simon or a replace of? (Tony Bibbs)
6. Look and Feel (Kevin Vidomski)
7. Re: Geeklog-2 CVS, To-do list (Tony Bibbs)
8. PluginInterface (Tony Bibbs)
9. Re: Filtering in GL2 (Blaine Lang)
10. Re: Simon or a replace of? (Simon Lord)
11. Re: Simon or a replace of? (Tony Bibbs)
12. Wiki borked? (Tony Bibbs)
13. Re: Simon or a replace of? (Simon Lord)
14. Re: Wiki borked? (Blaine Lang)
15. Re: PluginInterface (Vincent Furia)
--__--__--
Message: 1
Date: Mon, 20 Dec 2004 15:40:41 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Welcome Kevin Vidomski
Reply-To: geeklog-devel at lists.geeklog.net
Kevin Vidomski has been recruited to help with Geeklog 2 development. I
don't know much about Kevin so I'm hoping his first post can formally
introduce himself to the rest of the group.
Kevin, welcome to the team!
--Tony
--__--__--
Message: 2
Date: Mon, 20 Dec 2004 15:51:21 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] GL2 Login works
Reply-To: geeklog-devel at lists.geeklog.net
Pretty soon here I will be checking in a version of Geeklog 2 which
successfully authenticates a user. I have taken care to factor the code
in such a way that the means by which one manages a user account can be
changed by simply implementing one class and changing a setting in the
config file.
Being that noone has looked into the code yet (hint, hint) I'll take
this time to discuss the basic design:
The most basic part of the account management equation is the
Geeklog_AccountManager (in AccountManager.php). It's job is to read the
Account Manager it needs to create from a value in the configuration
file ($glConf['account_manager']), and generate an instance of that
class which is responsible for doing the work.
All account managers must implement the Geeklog_AccountManagerInterface
(AccountManagerInterface.php) which provides methods for creating
accounts, deleting accounts, authenticating users and changing
passwords. Other method will probably be added to this interface (i.e.
update account, etc) but I won't bother with them until we establish the
need.
As such, I have created default AccountManager...named
Geeklog_DefaultAccountManager in DefaultAccountManager.php (see the
pattern?).
All this said, one could, for example, create a LDAPAccountManager,
IMAPAccountManager, etc to have GL2 authenticate to any datastore. I'd
like to see LDAP and IMAP bundled in with GL2 (any takers?).
So, have a look in CVS and let me know what you do/don't like about what
I have so far.
--Tony
--__--__--
Message: 3
Date: Mon, 20 Dec 2004 15:58:17 -0600
From: Justin Carlson <justin.carlson at gmail.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Article throttle.
Reply-To: geeklog-devel at lists.geeklog.net
I agree, sometimes they get a little link-happy and link it several
times ( including the index. ) It also falls apart when users go back
to the index from a linked article.
However, even if it only catches 50% of the users, that's a large
savings on bandwidth and the cpu(s) for that rush.
A more complex solution for watching the entire site can/has been
done, this one was just very simple. In fact, a site-wide cache
system could be written, ( think about this for GL2 ) that creates
static pages and updates whenever content changes. This would of
course bloat the site, and should only be used by heavy traffic GL
users. Just have to decide when/where to update the cached pages.
Thoughts? Overkill?
On Fri, 17 Dec 2004 23:17:56 +0100, Dirk Haun <dirk at haun-online.de> wrote:
> Justin,
>
> >What this does is extremely simple. The owner of the website sets a
> >throttle, which is a number of guest users. Once this number is
> >reached, any article accessed from an external link or directly
> >accessed will display in print mode. This should greatly reduce the
> >number of database queries
>
> Sounds interesting.
>
> My suspicion, though, is that in most cases, it's the index page that is
> hit by most of the traffic. Especially Slashdot readers are known not to
> RTFA :P
>
> Are our friends from Groklaw still around? Niels, Peter?
>
> bye, Dirk
>
> --
> http://www.haun-online.de/
> http://www.tinyweb.de/
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
--__--__--
Message: 4
Date: Mon, 20 Dec 2004 16:17:26 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Filtering in GL2
Reply-To: geeklog-devel at lists.geeklog.net
Blaine,
Any ETA on when you might get a draft of the class put together? If it
will be a while, let me know and I can take a stab at it.
--Tony
Blaine Lang wrote:
>
>In addition, there is much more code inside the app that is adding or
>stripping.
>These have been added over time to address common needs but a major task to
>replace and consolidate the core GL 1.3 codebase.
>
>Still, it would be good to create a new OO based class and start to use it
>and slowing migrate scripts.
>The 1.3.x platform and plugins could be used to test such a new common
>class.
>
>I'd like to get more input but would be willing to take the lead on
>developing this.
>
>
>
--__--__--
Message: 5
Date: Mon, 20 Dec 2004 16:41:28 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Simon or a replace of?
Reply-To: geeklog-devel at lists.geeklog.net
With GL2 getting off the ground, it would sure be nice if we had a
look-and-feel sort of person on the team. I'm guessing Simon's days of
filling this slot are over given his inactivity on this list. Is there
someone that could fill this slot? Basically we need someone who knows
CSS/XHTML inside and out, some decent graphics skills. What I'd be
happy to start with is just a CSS that can be used. Should I just use
the current GL 1.3.x as the default?
I should probably post this opening on gl.net, huh? Regardless, I
promise you won't want me doing any mock-ups...I know my
limitations...pretty UI's is one of them.
--Tony
--__--__--
Message: 6
From: Kevin Vidomski <vidomski at lightbender.ca>
To: geeklog-devel at lists.geeklog.net
Date: Mon, 20 Dec 2004 16:46:40 -0600
Subject: [geeklog-devel] Look and Feel
Reply-To: geeklog-devel at lists.geeklog.net
Hey all,
I have a bit of talent in the graphics area if need be. I use GIMP and
Blender mostly.
Kevin Vidomski
--__--__--
Message: 7
Date: Mon, 20 Dec 2004 16:51:23 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Geeklog-2 CVS, To-do list
Reply-To: geeklog-devel at lists.geeklog.net
Here's an update on this list:
Tony Bibbs wrote:
> Here's the to-do list, short term:
>
> 1) BaseViewFlexy needs the translation stuff ironed out
Sorta done. Needs to be thought through completely as I'm sure I
haven't covered all our cases (not to mention I'm still fuzzy on how
Translation2 works). Also need to consider the possiblity of using the
xml translation2 support given all the dependencies for the gettext
implementation.
> 2) Data model needs Dwights attention regarding the count fields (i.e.
> gl2_user.num_views) so we can make a final decision and get those
> changes in the data model.
Dwight?
> 3) Geeklog_LoginCommand.php needs to be implemented. This should log
> a user in, get the user object from the database (including
> privileges) and serialize it to the session.
Rought draft is done.
> 4) BaseViewFlexyUser.php needs to be updated to correctly deserialize
> the user object from the session. If the user object doesn't exist it
> should forward on to the Login page. Otherwise it should forward on
> to...well that's the million dollar question. Given we have the
> concept of plugins for everything, we probably need to allow the user
> to specify the default one to use for the homepage, no?
Rough draft done. I'll build a kernel home page that will be the
default in the case that no plugins are installed.
> 5) We need the filtering class defined. I know Blaine volunteered
> originally...can you still do it?
Blaine was going to look into this since this would also benefit 1.3.x
> 6) Plugin API needs to have dependency checking added to it
Done
> 7) Event Manager needs to be implemented.
This will be my next project, I guess.
--Tony
--__--__--
Message: 8
Date: Mon, 20 Dec 2004 17:02:04 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] PluginInterface
Reply-To: geeklog-devel at lists.geeklog.net
Any reason that all of the methods on the Geeklog_PluginInterface
(PluginInterface.php) shouldn't all be static? As a refresher, the
methods are:
public function install();
public function uninstall();
public function upgrade();
public function getVersion();
public function handleEvent($event, $var = '');
public function getPage($request);
public function getDependencies();
None of them seem to really need an instantiated object. This all came
up as I thought about how we would call the handleEvent() method. Seems
more logical to say:
$pluginClassName::handleEvent();
Instead of
$somePlugin = pluginFactory::singleton();
$somePlugin->handleEvent();
Sorry I'm posting all these questions to the list but until I get some
more eyes on the actual code, I need a sanity check here and there.
--Tony
--__--__--
Message: 9
From: "Blaine Lang" <geeklog at langfamily.ca>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Filtering in GL2
Date: Mon, 20 Dec 2004 20:05:05 -0500
Reply-To: geeklog-devel at lists.geeklog.net
Hi Tony,
Entering into a busy two week period with family but I will see what I can
do.
Regards,
Blaine
----- Original Message -----
From: "Tony Bibbs" <tony at tonybibbs.com>
To: <geeklog-devel at lists.geeklog.net>
Sent: Monday, December 20, 2004 5:17 PM
Subject: Re: [geeklog-devel] Filtering in GL2
Blaine,
Any ETA on when you might get a draft of the class put together? If it
will be a while, let me know and I can take a stab at it.
--Tony
Blaine Lang wrote:
>
>In addition, there is much more code inside the app that is adding or
>stripping.
>These have been added over time to address common needs but a major task to
>replace and consolidate the core GL 1.3 codebase.
>
>Still, it would be good to create a new OO based class and start to use it
>and slowing migrate scripts.
>The 1.3.x platform and plugins could be used to test such a new common
>class.
>
>I'd like to get more input but would be willing to take the lead on
>developing this.
>
>
>
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel
--__--__--
Message: 10
Date: Mon, 20 Dec 2004 22:16:12 -0500
From: Simon Lord <slord at marelina.com>
Subject: Re: [geeklog-devel] Simon or a replace of?
To: geeklog-devel at lists.geeklog.net
Reply-To: geeklog-devel at lists.geeklog.net
I'm here tony, not going anywhere. Just a little busy (busy finding
work mostly). If you need something let me know, I'll squeeze you in.
On Dec 20, 2004, at 5:41 PM, Tony Bibbs wrote:
> With GL2 getting off the ground, it would sure be nice if we had a
> look-and-feel sort of person on the team. I'm guessing Simon's days
> of filling this slot are over given his inactivity on this list. Is
> there someone that could fill this slot? Basically we need someone
> who knows CSS/XHTML inside and out, some decent graphics skills. What
> I'd be happy to start with is just a CSS that can be used. Should I
> just use the current GL 1.3.x as the default?
>
> I should probably post this opening on gl.net, huh? Regardless, I
> promise you won't want me doing any mock-ups...I know my
> limitations...pretty UI's is one of them.
>
> --Tony
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
>
Sincerely,
Simon
--__--__--
Message: 11
Date: Mon, 20 Dec 2004 21:20:27 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] Simon or a replace of?
Reply-To: geeklog-devel at lists.geeklog.net
Sweet. Well, basically I know you had some input about how plugins and
css, etc should work in GL2 to get around 1.3.x limitations. Could you
list those out formally so I don't forget about them? When we get to a
point where we need the look-and-feel stuff I'll definitley give you a
buzz. My hopes is we'll start writing the article plugin soon which
should produce plenty of UI stuff.
--Tony
Simon Lord wrote:
> I'm here tony, not going anywhere. Just a little busy (busy finding
> work mostly). If you need something let me know, I'll squeeze you in.
>
>
>
> On Dec 20, 2004, at 5:41 PM, Tony Bibbs wrote:
>
>> With GL2 getting off the ground, it would sure be nice if we had a
>> look-and-feel sort of person on the team. I'm guessing Simon's days
>> of filling this slot are over given his inactivity on this list. Is
>> there someone that could fill this slot? Basically we need someone
>> who knows CSS/XHTML inside and out, some decent graphics skills.
>> What I'd be happy to start with is just a CSS that can be used.
>> Should I just use the current GL 1.3.x as the default?
>>
>> I should probably post this opening on gl.net, huh? Regardless, I
>> promise you won't want me doing any mock-ups...I know my
>> limitations...pretty UI's is one of them.
>>
>> --Tony
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> http://lists.geeklog.net/listinfo/geeklog-devel
>>
>>
> Sincerely,
> Simon
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
--__--__--
Message: 12
Date: Mon, 20 Dec 2004 21:58:37 -0600
From: Tony Bibbs <tony at tonybibbs.com>
To: geeklog-devel at lists.geeklog.net
Subject: [geeklog-devel] Wiki borked?
Reply-To: geeklog-devel at lists.geeklog.net
http://wiki.geeklog.net/wiki/index.php/Main_Page
Using latest stable Firefox. Is it fubar'd for anybody else?
--Tony
--__--__--
Message: 13
Date: Mon, 20 Dec 2004 23:02:04 -0500
From: Simon Lord <slord at marelina.com>
Subject: Re: [geeklog-devel] Simon or a replace of?
To: geeklog-devel at lists.geeklog.net
Reply-To: geeklog-devel at lists.geeklog.net
No problem. Technically Blaine and I have done this already, what's
missing is pretty much what you're looking for and that's a rough draft
for the design document. Basically we need to define a suite of
classes which will be attached to specific things such as story title,
story text, title background etc.
After that we just need to figure out how much of the site we want done
using div's as opposed to tables...
On Dec 20, 2004, at 10:20 PM, Tony Bibbs wrote:
> Sweet. Well, basically I know you had some input about how plugins
> and css, etc should work in GL2 to get around 1.3.x limitations.
> Could you list those out formally so I don't forget about them? When
> we get to a point where we need the look-and-feel stuff I'll
> definitley give you a buzz. My hopes is we'll start writing the
> article plugin soon which should produce plenty of UI stuff.
>
> --Tony
>
> Simon Lord wrote:
>
>> I'm here tony, not going anywhere. Just a little busy (busy finding
>> work mostly). If you need something let me know, I'll squeeze you
>> in.
>>
>>
>>
>> On Dec 20, 2004, at 5:41 PM, Tony Bibbs wrote:
>>
>>> With GL2 getting off the ground, it would sure be nice if we had a
>>> look-and-feel sort of person on the team. I'm guessing Simon's days
>>> of filling this slot are over given his inactivity on this list. Is
>>> there someone that could fill this slot? Basically we need someone
>>> who knows CSS/XHTML inside and out, some decent graphics skills.
>>> What I'd be happy to start with is just a CSS that can be used.
>>> Should I just use the current GL 1.3.x as the default?
>>>
>>> I should probably post this opening on gl.net, huh? Regardless, I
>>> promise you won't want me doing any mock-ups...I know my
>>> limitations...pretty UI's is one of them.
>>>
>>> --Tony
>>> _______________________________________________
>>> geeklog-devel mailing list
>>> geeklog-devel at lists.geeklog.net
>>> http://lists.geeklog.net/listinfo/geeklog-devel
>>>
>>>
>> Sincerely,
>> Simon
>>
>> _______________________________________________
>> geeklog-devel mailing list
>> geeklog-devel at lists.geeklog.net
>> http://lists.geeklog.net/listinfo/geeklog-devel
>
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
> !DSPAM:41c796e4292386171321209!
>
>
Sincerely,
Simon
--__--__--
Message: 14
From: "Blaine Lang" <geeklog at langfamily.ca>
To: <geeklog-devel at lists.geeklog.net>
Subject: Re: [geeklog-devel] Wiki borked?
Date: Mon, 20 Dec 2004 23:06:17 -0500
Reply-To: geeklog-devel at lists.geeklog.net
It appears to work ok. Checked a few pages and it was fine.
Blaine
----- Original Message -----
From: "Tony Bibbs" <tony at tonybibbs.com>
To: <geeklog-devel at lists.geeklog.net>
Sent: Monday, December 20, 2004 10:58 PM
Subject: [geeklog-devel] Wiki borked?
http://wiki.geeklog.net/wiki/index.php/Main_Page
Using latest stable Firefox. Is it fubar'd for anybody else?
--Tony
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel
--__--__--
Message: 15
Date: Mon, 20 Dec 2004 23:44:37 -0500
From: Vincent Furia <vfuria at gmail.com>
To: geeklog-devel at lists.geeklog.net
Subject: Re: [geeklog-devel] PluginInterface
Reply-To: geeklog-devel at lists.geeklog.net
Tony ,
Sorry I didn't talk to you about this a bit more. I built the plugin
interface so that it could be called statically. As far as I could
determine all the methods in the interface should be able to be called
without instantiating an object.
So I definitely think you're on the right track with this.
-Vinny
On Mon, 20 Dec 2004 17:02:04 -0600, Tony Bibbs <tony at tonybibbs.com> wrote:
> Any reason that all of the methods on the Geeklog_PluginInterface
> (PluginInterface.php) shouldn't all be static? As a refresher, the
> methods are:
>
> public function install();
> public function uninstall();
> public function upgrade();
> public function getVersion();
> public function handleEvent($event, $var = '');
> public function getPage($request);
> public function getDependencies();
>
> None of them seem to really need an instantiated object. This all came
> up as I thought about how we would call the handleEvent() method. Seems
> more logical to say:
>
> $pluginClassName::handleEvent();
>
> Instead of
>
> $somePlugin = pluginFactory::singleton();
> $somePlugin->handleEvent();
>
> Sorry I'm posting all these questions to the list but until I get some
> more eyes on the actual code, I need a sanity check here and there.
>
> --Tony
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://lists.geeklog.net/listinfo/geeklog-devel
>
--__--__--
_______________________________________________
geeklog-devel mailing list
geeklog-devel at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devel
End of geeklog-devel Digest
More information about the geeklog-devtalk
mailing list