Complete
To be used with care. Pages are complete only when they meet the posting guidelines.
Dan says:
We learned web development while learning Drupal
so we haven't had to un-learn the non-Drupal ways of doing things.
Resolution
<?php
// this does not work-- it grabs the ID of the last log message!!
$uid = db_result(db_query('SELECT LAST_INSERT_ID()'));
drupal_set_message('uid: '. $uid);
?>
Resolution
All you need is Capistrano and an account on the deploy machine. This can be used and extended to deploy to several servers (also at once), move databases around, etc. The gain is that you don't need to login to the server. We can talk about that interesting technique tomorrow.
A nice feature is the ability to roll back to an older version if something bad happens. If this happens during deploy it rolls back automatically.
Stefan
Despite a number of places with varying uses in the documentation, code, and public documents, the acronym SCF has been decided to stand for
Science Collaboration Framework
not
Scientific Collaborative Framework
or any other variation.
Good to know!
http://sciencecollaboration.org
Resolution
Another contractor on a project with us, and one way or another there came to be this issue with files modified locally on the live server— to which, in our own practice, we only ever update, so there can never be conflicts.