Gaming, Opera GX Pimp your smartphone with GX Mods, now available in Opera GX on Android and iOS February 8th, 2024 Transform the look and feel of your smartphone and tablet and browse like a badass by installing dozens of Mods... New green energy-powered AI data cluster with NVIDIA DGX supercomputing coming to Iceland February 7th, 2024 We’re excited to announce plans to deploy a new AI cluster i
Consuming OAuth-enabled APIs with CakePHP I currently provide two slightly different ways to consume OAuth-enabled APIs with CakePHP: a component and a consumer class. The consumer class emerged from the component and is a bit more flexible than the component. Both classes require CakePHP 2.x (though the versions for the previous CakePHP 1.x are still available), and they use the (open source) PHP
第2回CakePHP関西勉強会でやったデモをこちらでも。 CakePHPには色々なフックメソッドがあるのですが、それらがどのタイミングで呼ばれるかを一覧できるようにデモを行いました。懇親会やアンケートでも良かったよ、と意見を頂いたので、簡単に画面のキャプチャを並べます。 1. Controllerのフックメソッド Controllerのフックメソッドを並べています。index()はアクションメソッドなので、ここで表示されているフックメソッドは3つです。 ソース <?php class DemoController extends AppController { public $uses = array(); public function index() { } } ?> フックメソッドの並び 2. Componentのフックメソッド Controllerの$componentsを設定して
routes.phpを仕様に合わせて設定しておきます。 <?php // Router::connect('/:user_id/edit', array('controller' => 'user', 'action' => 'edit')); Router::connect('/', array('controller' => 'top', 'action' => 'index')); Router::connect('/:user_id/*', array('controller' => 'user', 'action' => 'index')); // Nothing Router::connect('*', array('controller' => 'nothing')); ?> 最後はシステムが取るべきURL以外ならNot Foundを出すように設定しています。これにより想定外
Latest News cheeseCake Photoblog V1.5.1 Stable released Tarique Sani - 2007-02-07 06:11 (0 Comment) [Read More/Comment] cheeseCake Photoblog V1.5 Stable released Tarique Sani - 2007-01-15 07:45 (0 Comment) [Read More/Comment] cheeseCake Photoblog V1.5 Beta 2 released Tarique Sani - 2006-12-17 11:43 (0 Comment) [Read More/Comment] cheeseCake Photoblog V1.5 Beta 1 released Tarique Sani - 2006
Please note that the hack described in this article no longer works with CakePHP 1.2.3.8166! See Peter’s comment for a possible solution for the current CakePHP release (1.2.5.x). Some days ago I got asked how you can use the OpenID component together with the Auth component from CakePHP. As I didn’t knew the answer, I had to experiment a bit. Even though it was a quite frustrating experience (tha
What's in your Domain Name? Print This domain name will potentially help you bring in more customers and profits every day, as the domain itself goes up in value. A super premium .Com domain name from DomainMarket.com means instant branding, search engine, and marketing benefits. We make it safe, easy and affordable for you to own TheChaw.com right away. Click here to purchase TheChaw.com DomainMa
Connecting CakePHP and Flex The goal of this project is to provide a seamless connection between CakePHP and Flex. The main focus of the project is on the AMF plugin. svn co https://svn.cakefoundation.org/amf/branches/amf AMF One of the major goals of this project was to create a new interface that would support AMF. To accomplish this task we greatly thank Emanuele and his work on the AMFEXT for
A growing number of APIs support OAuth, i.e. it is possible to give service A access to service B without giving B’s username/password to A. In this article I’m going to show you how to use OAuth-enabled APIs with CakePHP (and the OAuth consumer component I have written). First, there are some preparations necessary, namely the download of the required files: Get the OAuth component and place its
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く