Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

HTML Widgets distribution naming advice

by bronto (Priest)
on Oct 15, 2003 at 14:17 UTC ( [id://299419]=perlquestion: print w/replies, xml ) Need Help??

bronto has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks

After more than one year of incostant work, during which I put out the modules Net::LDAP::Express and Data::Password::BasicCheck, I've finally the first working version of a web application that I'll use to manage entries on a directory server; both the above mentioned modules are part of the foundations of this application.

There is another part, anyway, that I didn't put on CPAN yet. A fundamental part of the application is a series of classes that create window-like web forms: forms are in all similar to GUI windows (they have a title bar, a status bar, buttons...) and come in different "flavours" (menu windows, error windows, windows for data input and output...)

At the moment, they are called LGMT::HTML::Widget::* (where "*" can be, for example, Button, Window, Form, InputForm, SelectionForm, Menu...). I was wondering if I could file them under the HTML::Widgets hierarchy, but as far as I can see HTML::Widgets modules are a bit different in scope...

Any advice?

Ciao!
--bronto


The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
  • Comment on HTML Widgets distribution naming advice

Replies are listed 'Best First'.
Re: HTML Widgets distribution naming advice
by dakkar (Hermit) on Oct 17, 2003 at 10:42 UTC

    It depends on how much abstract / general / reusable / modular / etc. your modules are: if they are, even in small part, tied to your framework / application, I'd say HTML::appname::Widget::*. Otherwise, I think you could create an entire hierarchy based under HTML::GUI or similar

    -- 
            dakkar - Mobilis in mobile
    

    Most of my code is tested...

    Perl is strongly typed, it just has very few types (Dan)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://299419]
Approved by barrd
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2024-04-25 19:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found