[neuer Beitrag / [ technix ]
[neuer Beitrag / 1 Beitrag] [ technix geld leben ]
an easy to follow howto
/**
* life::myJob()
* // purpose: core function for money earning. automatically
finds customers, creates and sends offers, fake
work, get the cash, do some basic conversation
with the customer, add the project to the
reference list, try to get a permanent service
aggreement, and calls itself in an endless loop.
* @param NONE
* @return bool
*/
function myJob() {
$this->findCustomer(TRUE,TRUE);
$this->createKV();
if ($this->sendKVToCustomer()) {
$this->fakeWork();
$this->getCash();
$this->sendNotification(EMAIL,SMS);
$this->sendThxMail();
if (!$this->customerHappy) { $this->forceCustomerHappy(); }
$this->addReference();
} // if
if ($this->getServiceAgr()) {
while ($this->ServiceAgr) {
$this->fakeWork();
} // while
} // if
$this->useMoneyForFunStuff();
$this->myJob();
return -1;
} // function
[neuer Beitrag / [ spiel technix ]
here we go ... js.strg.at/und/
da hat mir eine einen floh ins ohr gesetzt mit so einem kleinen raetsel, dass eigentlich am papier in jeder kneipe geloest werden kann und das wir kurzerhand in ein kleines prograemmchen verwandelt haben. wer will darf sich versuchen ... aber vorsicht nicht kompliziert denken ... es ist alles gaaaanz einfach. wer die loesung findet, darf sie behalten ;)
[neuer Beitrag / [ technix blog ]
hmmm, jetzt hab ich mir so ein huebsches weblog gemacht ... was tu ich bloss damit ?
naja, hat zumindest spass gemacht es zu bauen. es arbeitet ueber plain-xml files in das die logs eingetragen werden. ein schlauer parser holt den content raus und schreibt ihn ueber ein noch schlaueres object-handling in richtung smarty. dort wird das ganze auf wundersame weise einem smarty object zur verfuegung gestellt auf das ein weniger schlaues template zugreift. naja, viel laerm um nichts ;-)
$smarty->assign("BLOGS", $xir->xml->read_xml(XIR_BLOG_XML));
pear.php.net
smarty.php.net
anm: mit viel glueck werden die eintraege in zukunft ein wenig spannender ...
RSS Feeds: http://xir.cccp.at/rss/xirblog.xml
spunQ the opensource database modeler