How many people would want a

General project discussion. NOT for help questions.
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Re: How many people would want a

Post by Lahuindai »

calguy1000 wrote: Technically speaking, somebody could write different payment modules, or cart modules, all sending and/or handling the appropriate events, and they would just work nicely together.
Much better put than my broken description. Thanks calguy1000.

One question, what are we as a community going to do about the really bad state of documentation with regard to the new functionality in cmsms and just general Module development ?

Also is there some example code on events somewhere usefull ?

G
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: How many people would want a

Post by calguy1000 »

Well, documentation always lags behind development.  There are (at least two) reasons for this:

1) Developers hate writing it.... very few people read it anyways (esp. end user documentation).  we'd rather show
    by example than spend time writing docs that people won't read anyways.  They'll still just ask the questions.
    Some people can't even click on the documentation that already exists where certain questions are clearly and plainly answered,
    they'd rather post a question in the forum that is vague, and then get ticked when nobody responds.
    (sorry, I'm a quited annoyed about that of late).

2) We've usually got somebody breathing down our necks for the code we're writing and focus on getting the code working
    and then ship it out and go on to the next issue.

3) Because of the above two reasons, the docus (even developer docs) lag behind the code, and tend to get out of date very
    quickly.... which makes the problem even worse.

Now, stating that, the docs still need working on.  And the only way to do it is collaberatively.  Setting up policies, rules, and guidelines doesn't work (nobody reads them either, not even the developers).

So I would suggest, that as you need something, a) ask the question, b) put something into the wiki in the appropriate spot, c) tell people about it so that they can fill in the blanks, expand a bit, correct your spelling mistakes, etc, etc.) and hopefully the community we have here can write their own docs.  We have a wonderful user community, it's just a a few people who are lazy and/or inconsiderate that tick us off.

Regarding examples

Well... I've just recently written the NewsToCalendar module (looks like there's still a few burs to be ground off of it yet).  but it's essentially a bridge between (you guessed it), News and calendar.  it handles six of the News module events, and performs actions on the Calendar database.

As well there's News which both sends, and handles events (it handles search this way).  as well as the Uploads module, and the Search module itself.

Events are so cool, why didn't I think of that earlier :)
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Re: How many people would want a

Post by Lahuindai »

calguy1000: I share your frustrations, thanks for the modules i'll go dig through them and get if figured. Also i swear to to put some of the things i figure out on the wiki.

A question: I'm creating a lookup for countries in the ShopMadeSimple but i'm thinking that splitting it out into a module/tag of it's own might be a good idea as i'm sure there are other things that require a country lookup (read drop down lists). So the idea would be a tag perhaps in the form of {country_list id='your input name/id'} and the output would be

Anybody think this is good/bad now is the time to comment :)

G
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: How many people would want a

Post by calguy1000 »

I had this idea already (not specifically about a country lookup), but about generic controls.  Like user editible lists (add/edit/delete strings in a list). 
and fields that require a mask or a filter, etc, etc.

I started a project called FormObjects but didn't get very far on it.  The idea was that each object would be an independant class that could
be used in a module, etc. 

I don't know if I'd create separate projects for each little form though, and I'm not sure about using them as tags, at least not all of them.  I'd have to see how it worked first. 

But you're welcome to use FormObjects and do whatever you want with it.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
User avatar
Lahuindai
Forum Members
Forum Members
Posts: 66
Joined: Mon Aug 01, 2005 11:00 am

Re: How many people would want a

Post by Lahuindai »

I'll have a look at it and really like the idea you have there. It would cut down considerably on development time, but at the cost of higher barrier to entry (ready steaper learning curve). Small price to pay though.
Post Reply

Return to “General Discussion”