Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Messaging the result of a consideration

by jdporter (Paladin)
on May 22, 2017 at 16:17 UTC ( [id://1190861]=note: print w/replies, xml ) Need Help??


in reply to Re: Messaging the result of a consideration
in thread Messaging the result of a consideration

I think we should try to turn considerations into first-class nodes. The Everything motto is: "Everything is a node." But unfortunately that isn't quite true; some data objects managed by the engine are not nodes. Considerations being one of them. Often all it takes to turn something into a node type is to create a new entry in the nodetype table. Unfortunately, in this case, it would take a bit more than that, since, as currently implemented, considerations get deleted when the consideration is resolved (or by janitors' explicit direction). We'd have to add a 'resolved' flag field, better probably, a 'resolved' datetime field. Something like that. With all the consequent code changes.

I reckon we are the only monastery ever to have a dungeon stuffed with 16,000 zombies.

Replies are listed 'Best First'.
Re^3: Messaging the result of a consideration
by chacham (Prior) on May 23, 2017 at 20:13 UTC

    Food for thought, perhaps:

    When implementing changes to a table in a database, in order to have minor impact, you can create a new table with a new name to house the change, and migrate the data from the old table according to the new scheme. Then, create a(n updateable) view with the same name as the old table, querying from the new table. This sets the stage for changes with little affect on the current code base.

    Once that is in place, changes can be made slowly, using the new table instead of the view, while the current code using the view.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-03-29 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found