new framework, namespace help please!

new framework, namespace help please!

am 12.09.2005 16:15:11 von nybble

Hello,

I've been reworking some of the base classes I've been using over the
past few years into something more publicly presentable. It's an
OO-RDBMs framework similar in ways to Class::DBI and Alzabo. It keeps
the simple idea of mapping tables directly onto objects, but differs in
that it creates two layers of classes, an API class whose goal is to
contain all the business logic around a set of related tables and a DB
class that strives to encapsulate all the actual database access. The
table objects themselves, are simple containers that really only keep
information about the table they are in and the information they
currently hold. Arbitrary complexity can be built into all subclasses
of those but they strive to make the easy/common things easier and the
hard things, if not easier at least not more difficult.

So my first release is going to be these base classes, but I hope to
add additional modules into the namespace that will build ontop of this
giving things like basic blogging engine or user management engine,
etc..

What I've been calling it is things like Deasil::Base or Deasil::Blog
or Deasil::Cal, etc.. I'd like to know if that's a reasonable thing to
upload or if I should try to wedge these classes into an existing top
level namespace?

Any thoughts are greatly appreciated.

Re: new framework, namespace help please!

am 12.09.2005 17:35:47 von John Bokma

"nybble" wrote:

> What I've been calling it is things like Deasil::Base or Deasil::Blog
> or Deasil::Cal, etc.. I'd like to know if that's a reasonable thing to
> upload or if I should try to wedge these classes into an existing top
> level namespace?

Deasil... deasil... I had to look that one up: "right, right-handed" ?
No idea if you mean that, but if yes: that's a big problem.


--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

Re: new framework, namespace help please!

am 12.09.2005 20:36:53 von nybble

John Bokma wrote:
> "nybble" wrote:
>
> > What I've been calling it is things like Deasil::Base or Deasil::Blog
> > or Deasil::Cal, etc.. I'd like to know if that's a reasonable thing to
> > upload or if I should try to wedge these classes into an existing top
> > level namespace?
>
> Deasil... deasil... I had to look that one up: "right, right-handed" ?
> No idea if you mean that, but if yes: that's a big problem.

Heh, yes, it's the name of my company and I've been refering to the
package as the "deasil engine". I figured, since it isn't really a
modern word, it is as good as any other made up word for the framework,
not unlike 'alzabo'. Is it really a problem?

Thanks for your thoughts on this!

Re: new framework, namespace help please!

am 12.09.2005 23:43:00 von John Bokma

"nybble" wrote:

> John Bokma wrote:
>> "nybble" wrote:
>>
>> > What I've been calling it is things like Deasil::Base or Deasil::Blog
>> > or Deasil::Cal, etc.. I'd like to know if that's a reasonable thing to
>> > upload or if I should try to wedge these classes into an existing top
>> > level namespace?
>>
>> Deasil... deasil... I had to look that one up: "right, right-handed" ?
>> No idea if you mean that, but if yes: that's a big problem.
>
> Heh, yes, it's the name of my company and I've been refering to the
> package as the "deasil engine". I figured, since it isn't really a
> modern word, it is as good as any other made up word for the framework,
> not unlike 'alzabo'. Is it really a problem?

To me yes, since I use the search feature of CPAN a lot :-) I have no idea
what Deasil::Cal would do, and Deasil::Blog... a blog program?

--
John Small Perl scripts: http://johnbokma.com/perl/
Perl programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html

Re: new framework, namespace help please!

am 13.09.2005 21:00:23 von Terrence Brannon

"nybble" writes:

> Hello,
>
> I've been reworking some of the base classes I've been using over the
> past few years into something more publicly presentable.

Any sample POD docs showing code we can look at? I'm fairly hooked on
Rose::DB::Object

--
Carter's Compass: I know I'm on the right track when,
by deleting something, I'm adding functionality.

Re: new framework, namespace help please!

am 14.09.2005 14:22:47 von nybble

Terrence Brannon wrote:
> Any sample POD docs showing code we can look at? I'm fairly hooked on
> Rose::DB::Object

I'm very slowly working on it... :) My classes seem different than
other frameworks in that I try to take complexity out of the db object
(in terms of what it can do) and move it into an API class that handles
business logic for related groups of objects. So these modules have
more control over the relationships between things and let you do joins
that return things. I've found it useful for awhile, and hopefully
others will too. We'll see!