2009-09-13から1日間の記事一覧

rhaco: データベース操作(select)

project.xml <project rhacover="1.6.1" version="0.0.1" name="rhaco_test" xmlns="http://rhaco.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://rhaco.org http://m.rhaco.org/xsd/project_1_6_x.xsd"> <database name="rhaco"> <table name="items" admin="true"> </table></database></project>

rhaco: データベース操作(insert)

project.xml <project rhacover="1.6.1" version="0.0.1" name="rhaco_test" xmlns="http://rhaco.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://rhaco.org http://m.rhaco.org/xsd/project_1_6_x.xsd"> <database name="rhaco"> <table name="items" admin="true"> </table></database></project>

rhaco: TwitterAPI投稿実装(update)

index.php require('__init__.php'); Rhaco::import('arbo.network.services.TwitterAPI'); $tw_user = 'username'; $tw_pass = 'password'; $tw = new TwitterAPI($tw_user, $tw_pass); // twitterへ投稿(update) $tw->status_update('This is test post.');

rhaco: ユーザ認証実装 with cookie(最小ソース)

project.xml <project rhacover="1.6.1" version="0.0.1" name="userauth" xmlns="http://rhaco.org" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://rhaco.org http://m.rhaco.org/xsd/project_1_6_x.xsd"> <database name="userauth"> <table name="users" admin="true"> </table></database></project>