It sounds reasonable to extend dmLink in this case. If you add the property
with empty ftSeq, ftFieldSet, and ftWizardStep attributes, it won't be
included in the webtop form.

Blair

On Tue, Dec 1, 2009 at 9:52 PM, James Buckingham <[email protected]>wrote:

> Hiya,
>
> I'm building a Link Checker scheduled task for our new site. The idea
> being that each night it will ping the addresses in the dmLink type
> and make sure they're returning a valid page still.
>
> What we're planning on doing is having a counter field. So rather than
> flagging up the moment a page doesn't responsed we want the system to
> let us know when it's not responded X amount of times (in case a
> server is temp. down etc.)
>
> In terms of "best practice" what would people do here:
>
> 1) Add an extra field into the dmLink table - In one sense I see this
> as bad as it means I'm adding my own custom code to something FarCry
> is managing just now, unless there is a way in the dmLink.cfc I can
> add a custom field without it appearing in the webtop?
>
> On the plus side I've got all the records sitting there ready to go
> if / when I need them so my code would be a lot cleaner.
>
> 2) Add a new custom table which contains the link objectID and the
> counter. Pro is I have the task separate from the core, Con is I'd
> need to do a bit more CRUD work of the record in my task to make sure
> everything was in
> sync with the main dmLink table. Is that something fourQ could maybe
> do for me though?
>
> Personally I'm think option 2 might be the best approach.
>
> BTW - Is this something that anyone else has built as a plugin /
> scheduled task already?
>
> As always, any feedback would be appreciated.
>
> Cheers,
> James
>
> --
> You received this message cos you are subscribed to "farcry-dev" Google
> group.
> To post, email: [email protected]
> To unsubscribe, email: 
> [email protected]<farcry-dev%[email protected]>
> For more options: http://groups.google.com/group/farcry-dev
> --------------------------------
> Follow us on Twitter: http://twitter.com/farcry

-- 
You received this message cos you are subscribed to "farcry-dev" Google group.
To post, email: [email protected]
To unsubscribe, email: [email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry

Reply via email to