Heh, mine are actually /model/listeners/[Object]Listener.cfc
jlcox said the following on 6/11/2008 3:09 PM:
--
Matt Woodward
mpwoo...@gmail.com
http://www.mattwoodward.com/blog
Please do not send me proprietary file formats such as Word,
PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html
I agree with Prem, however instead of saying I like the first approach
versus the one above -- I'd say I disapprove of the approach above.
This this example.
You have User.cfc (bean), UserService.cfc, UserDao.cfc and
UserGateway.cfc. These are part of the "user" package thus they should
be grouped together. Otherwise, you are breaking objects into
directories based on object type (pattern/functionality of the object)
instead of the object's purpose (having to do with "user" stuff). This
is counter-intuitive as a developer would have to scan through a
"beans", "gateways", "services" and "daos" directories to see if the
User (bean) has a corresponding service, dao, gateway, etc.. Much
easier (and it makes more sense in the long run) to group by object
group instead of object type (pattern/function).
.Peter
Just to second what Peter's saying, I did MachBlog 1.0 like this, but
mostly because it was intended to be an application for people to
learn from, so I was thinking that grouping objects like this would
help. In most real-world applications you won't want to do this, and
since the whole notion of a package is really coming from Java anyway,
probably best to follow that convention (the one Peter outlined) for
both consistency of organization as well as ease of use.
Hi,
(I just wonder if this is possible with Mach-II,)
Normally while running an Mach-II based web application we will be having our urls like,
http://www.mysite.com/index.cfm?event=login
Is there a way (Mach Specific... Not URL Rewriting) I can hide index.cfm occurence so that no body can determine my application is built on Coldfusion?...
Thanks in advance!..
Regards,
Dav R
>> > > Is there a way (Mach Specific... Not URL Rewriting) I can hide
>> > > index.cfm occurence so that no body can determine my application is built on
>> > > Coldfusion?...
As Dan said you can change your extension. I'm assuming you are doing
this for security?
FYI: http://www.port80software.com/support/articles/maskyourwebserver
Jim