<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-9145717246056462490</id><updated>2024-09-29T06:08:16.519+09:00</updated><category term="営業話"/><category term="android"/><category term="PHP"/><category term="androidアプリ"/><category term="NetBeans"/><category term="android携帯"/><category term="その他"/><category term="androidアプリ作成"/><category term="android開発"/><category term="Google"/><category term="KDDI"/><category term="Android解説"/><category term="Google Adsense"/><category term="XPERIA"/><category term="android開発環境"/><category term="android開発環境作成"/><category term="iPhone"/><category term="AndroidMarket"/><category term="CakePHP"/><category term="au"/><category term="iPad"/><category term="Android大作戦"/><category term="JAVA"/><category term="android情報端末"/><category term="Amazon"/><category term="Syntax Highlighter Scripts Generator"/><category term="android 2.2"/><category term="softbank"/><category term="winsock"/><category term="携帯電話"/><category term="渋谷コロッケ"/><category term="AKB48"/><category term="Edy"/><category term="FTP"/><category term="Freemind"/><category term="KNOPPIX"/><category term="MS-ACCESS"/><category term="MS-DOS"/><category term="McAfee Endpoint Encryption"/><category term="Microsoft"/><category term="Microsoft Office 2010"/><category term="SATA(Serial ATA )"/><category term="VB"/><category term="Windows7"/><category term="android開発案件"/><category term="baserCMS"/><category term="google buzz"/><category term="タッチパネル"/><category term="ドラゴンクエスト"/><category term="ニンテンドー3DS"/><category term="マネジメント"/><category term="再インストール"/><category term="情報セキュリティ"/><title type='text'>Android大作戦</title><subtitle type='html'>Android関連情報のほか、はやり物、気になるものを勝手に紹介。</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>213</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-8501889316221616762</id><published>2013-04-09T17:02:00.000+09:00</published><updated>2013-04-09T17:02:05.633+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="baserCMS"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>baserCMS インストール時のエラー対応</title><content type='html'>baserCMSをインストールしてみたら、エラーが発生したので、その対応方法を載せておきます。&lt;br /&gt;
&lt;br /&gt;
なお、&lt;br /&gt;
&lt;a href=&quot;http://basercms.net/&quot; target=&quot;_blank&quot;&gt;baserCMS&lt;/a&gt;（ベーサーシーエムエス）とは、オープンソースフレームワーク「CakePHP」をベースとし、環境準備の素早さに重点を置いた基本制作支援プロジェクトから生まれた国産CMS（コンテンツマネージメントシステム）です。&lt;br /&gt;
&lt;br /&gt;
ここでは、エラーの対応方法だけの記述ですので、ダウンロードや使用方法については、提供元の&lt;a href=&quot;http://basercms.net/&quot; target=&quot;_blank&quot;&gt;baserCMS&lt;/a&gt;を参照してください。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
１．ダウンロード後に起動した画面&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh66rFBAYsVz3NYxaT2a-0xxOlRzZPKcOWNPdqveg1XR6krh4CmA5PiiPmq41_pZ3D8XRnjaXSC81tjmbJKSKLOKJSG_Lt1SOAqGMtiW1dsM-AzGow_Qcfo2wHZ_UxAL8iXxbsc2pvA6W0/s1600/%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E7%94%BB%E9%9D%A2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh66rFBAYsVz3NYxaT2a-0xxOlRzZPKcOWNPdqveg1XR6krh4CmA5PiiPmq41_pZ3D8XRnjaXSC81tjmbJKSKLOKJSG_Lt1SOAqGMtiW1dsM-AzGow_Qcfo2wHZ_UxAL8iXxbsc2pvA6W0/s320/%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E7%94%BB%E9%9D%A2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
見ずらいですが、5か所のエラーと文字化けが起こっています。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
これらは、すべて”＝＆”となっている箇所を”＝”に変更すると解決します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
なぜかは不明ですが(^_^;)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
ちなみに”＝＆”と”＝”の代入の違いですが&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
”＝＆”は、アドレスを代入&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
”＝”は、値を代入&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4a73WmZG63ioXIkED2L4VQmE4eVkF6xKGQqgSZXHirz22KQE4VZvRuikzC65SczoReofWdxrak5m6I9TkhM34ip5GuHjIRpRcvTrJVhbB30pGypZopxuAKC6NmMDLj9EFdM-18voNm5c/s1600/%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A8%E7%95%AA%E5%9C%B0.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;42&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4a73WmZG63ioXIkED2L4VQmE4eVkF6xKGQqgSZXHirz22KQE4VZvRuikzC65SczoReofWdxrak5m6I9TkhM34ip5GuHjIRpRcvTrJVhbB30pGypZopxuAKC6NmMDLj9EFdM-18voNm5c/s320/%E3%82%A2%E3%83%89%E3%83%AC%E3%82%B9%E3%81%A8%E7%95%AA%E5%9C%B0.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
＄Aが102番地の■だとして&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
＄B　＝　＄A　の場合、＄Bには■が代入されます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
＄C　＝＆　＄A　の場合、＄Cには”102番地”という、データの格納場所が代入されます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
アドレス参照の利点は、データ格納用のエリアが不要であることですが、誰かが102番地の内容を書き換えると、参照時の値と変わってしまうという問題も起こります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
メモリーを大量に使用できる今日では、アドレス参照はあまり使用しないかも知れません。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/8501889316221616762/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/04/basercms.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8501889316221616762'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8501889316221616762'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/04/basercms.html' title='baserCMS インストール時のエラー対応'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh66rFBAYsVz3NYxaT2a-0xxOlRzZPKcOWNPdqveg1XR6krh4CmA5PiiPmq41_pZ3D8XRnjaXSC81tjmbJKSKLOKJSG_Lt1SOAqGMtiW1dsM-AzGow_Qcfo2wHZ_UxAL8iXxbsc2pvA6W0/s72-c/%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E7%94%BB%E9%9D%A2.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-2503229814613931423</id><published>2013-02-20T08:41:00.000+09:00</published><updated>2013-02-20T08:41:09.356+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><title type='text'>NetBeans IDE 一押し機能</title><content type='html'>NetBeans IDEは、全然使いこなせていませんが、便利機能を&lt;br /&gt;
ひとつ紹介。&lt;br /&gt;
&lt;br /&gt;
それは、ソースの差分表示です。&lt;br /&gt;
&lt;br /&gt;
エディターでソースの隣にある履歴をクリックしたあと、いつ時点と&lt;br /&gt;
比較するのか選択します。&lt;br /&gt;
そうすると、その時点と偏在の差分が瞬時に表示されます。&lt;br /&gt;
&lt;br /&gt;
まめにバックアップは取られていると思いますが、取り忘れや、&lt;br /&gt;
バックアップの習慣がない人には便利な機能と思います。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NWMid3syseRbMJvTyQIOtivsoigeQ-g-4sHAybQqjNfz8WQKpVkjbPlQ7EddsdNuxivHB7o4y1nubWzbPSA6HNCEUImBynhMtCBvA2uxXWoyrLaxrPpXDv5VNCFY31CJLg46zNTJDfE/s1600/debughistory.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NWMid3syseRbMJvTyQIOtivsoigeQ-g-4sHAybQqjNfz8WQKpVkjbPlQ7EddsdNuxivHB7o4y1nubWzbPSA6HNCEUImBynhMtCBvA2uxXWoyrLaxrPpXDv5VNCFY31CJLg46zNTJDfE/s320/debughistory.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/2503229814613931423/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-ide.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2503229814613931423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2503229814613931423'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-ide.html' title='NetBeans IDE 一押し機能'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_NWMid3syseRbMJvTyQIOtivsoigeQ-g-4sHAybQqjNfz8WQKpVkjbPlQ7EddsdNuxivHB7o4y1nubWzbPSA6HNCEUImBynhMtCBvA2uxXWoyrLaxrPpXDv5VNCFY31CJLg46zNTJDfE/s72-c/debughistory.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-3197664487314232690</id><published>2013-02-19T09:29:00.000+09:00</published><updated>2013-02-19T09:29:01.415+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CakePHP"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><title type='text'>NetBeans IDEとCakePHP $this　の内容</title><content type='html'>PHPの変数でよく使う「$this」。&lt;br /&gt;
これはクラス内変数を使用するときの修飾子とでも&lt;br /&gt;
理解すれば良いのだろうか？&lt;br /&gt;
&lt;br /&gt;
ソース上に「debug（$this)」と1行追記することで&lt;br /&gt;
その中身を知ることができます。&lt;br /&gt;
&lt;br /&gt;
見えるかすることで、疑問も増えるかも知れませんが、&lt;br /&gt;
理解も深まるのではないでしょうか。&lt;br /&gt;
&lt;br /&gt;
debug追加ソース例&lt;br /&gt;
　・他のページにリダイレクトすると見えなくなるのでコメントにしておきます。　&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzXk-PZIXBqtupYysbfzDvYIsEu4AdYdU8b6wypr_95hjnyyilJfdxtVctoKoJwbggfTEenhn7uCWJ2QSepJkKgQsuohE_X-M5ujON9rcqD8Ep7OToiyBo2QAEi2HvSndHpYXCcQCT9I/s1600/debugsource.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzXk-PZIXBqtupYysbfzDvYIsEu4AdYdU8b6wypr_95hjnyyilJfdxtVctoKoJwbggfTEenhn7uCWJ2QSepJkKgQsuohE_X-M5ujON9rcqD8Ep7OToiyBo2QAEi2HvSndHpYXCcQCT9I/s320/debugsource.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&amp;nbsp;実行結果&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEickQDaXBvLk0aDqXjFzDgAvXDhQLp-aASlO_dgNmvvJRsrvFGEBySqyeORur8kntTzsFh7EtBeXCRMxXe-plHkpBaubQvHNU02ccbiJirZwPzg70lu3VzbVAu0mb492Pt_LeHmWDXwFNY/s1600/debugprint.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEickQDaXBvLk0aDqXjFzDgAvXDhQLp-aASlO_dgNmvvJRsrvFGEBySqyeORur8kntTzsFh7EtBeXCRMxXe-plHkpBaubQvHNU02ccbiJirZwPzg70lu3VzbVAu0mb492Pt_LeHmWDXwFNY/s320/debugprint.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/3197664487314232690/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp-this.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/3197664487314232690'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/3197664487314232690'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp-this.html' title='NetBeans IDEとCakePHP $this　の内容'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFzXk-PZIXBqtupYysbfzDvYIsEu4AdYdU8b6wypr_95hjnyyilJfdxtVctoKoJwbggfTEenhn7uCWJ2QSepJkKgQsuohE_X-M5ujON9rcqD8Ep7OToiyBo2QAEi2HvSndHpYXCcQCT9I/s72-c/debugsource.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-4363994859471853524</id><published>2013-02-15T08:36:00.003+09:00</published><updated>2013-02-15T08:47:44.935+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CakePHP"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><title type='text'>NetBeans IDEとCakePHP データ更新（３/３）</title><content type='html'>&lt;br /&gt;
３．もう少しプログラムらしく&lt;br /&gt;
　　ここまで、きたら全体を見直して、プログラムっぽく動作させてみましょう。&lt;br /&gt;
３－１．Viewの見直し&lt;br /&gt;
３－１－１．　index.ctp&lt;br /&gt;
　　先程、cssの説明の時に使用した「ビザのオーダーリスト」のViewです。&lt;br /&gt;
　　＜li＞＜?php echo $this-&amp;gt;Form-&amp;gt;input(&#39;№：&#39;,array(&#39;size&#39;=&amp;gt;2)); ?＞＜/li＞&lt;br /&gt;
　　は、編集、削除で指定するidを入力するエリアです。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“index.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

&lt;?php echo $this-&gt;Form-&gt;create(&#39;OrderList&#39;); ?&gt;
&lt;div id=&quot;action_group&quot;&gt;
    &lt;ul&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;input(&#39;№：&#39;,array(&#39;size&#39;=&gt;2)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;追加&#39;,array(&#39;name&#39;=&gt;&#39;list_add&#39;)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;更新&#39;,array(&#39;name&#39;=&gt;&#39;list_edit&#39;)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;削除&#39;,array(&#39;name&#39;=&gt;&#39;list_delete&#39;)); ?&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;br&gt;&lt;/br&gt;
&lt;table&gt;
&lt;tr&gt;
  &lt;th&gt;№&lt;/th&gt;
  &lt;th&gt;商品名&lt;/th&gt;
  &lt;th&gt;サイズ&lt;/th&gt;
  &lt;th&gt;金額&lt;/th&gt;
  &lt;th&gt;お持ち帰り&lt;/th&gt;
  &lt;th&gt;イメージ&lt;/th&gt;
  &lt;th&gt;登録日時&lt;/th&gt;
  &lt;th&gt;更新日時&lt;/th&gt;
  &lt;/tr&gt;
&lt;tr&gt;
  &lt;?php foreach ($OrderLists as $OrderList): ?&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;id&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;title&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;size&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;price&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;to_go&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;image_number&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;created&#39;];?&gt;&lt;/td&gt;
  &lt;td&gt;&lt;?php echo $OrderList[&#39;OrderList&#39;][&#39;modified&#39;];?&gt;&lt;/td&gt;
  &lt;/tr&gt;
&lt;?php endforeach; ?&gt;
&lt;/table&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
　　３－１－２．　add_order_list.ctp&lt;br /&gt;
　　　データ追加用の画面です。言い忘れていましたが、画面の作成は「Form Helper」を使用しています。入力のタイプとして「select」と「radio」を作成してみました。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“add_order_list.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;h1&gt;
商品追加&lt;/h1&gt;
&lt;p&gt;
PizzaData Add Form.&lt;/p&gt;
&lt;?php
  echo $this-&gt;Form-&gt;create(&#39;OrderList&#39;);
  echo $this-&gt;Form-&gt;input(&#39;title&#39;);
  echo $this-&gt;Form-&gt;input(&#39;size&#39;,array(&#39;type&#39;=&gt;&#39;select&#39;,&#39;options&#39;=&gt;array(&#39;S&#39;=&gt;&#39;S&#39;,&#39;M&#39;=&gt;&#39;M&#39;,&#39;L&#39;=&gt;&#39;L&#39;),&#39;default&#39;=&gt;&#39;S&#39;));
  echo $this-&gt;Form-&gt;input(&#39;price&#39;);
  echo $this-&gt;Form-&gt;input(&#39;to_go&#39;,array(&#39;type&#39;=&gt;&#39;radio&#39;,&#39;options&#39;=&gt;array(&#39;ToGo&#39;=&gt;&#39;ToGo&#39;,&#39;ForHere&#39;=&gt;&#39;ForHere&#39;),&#39;default&#39;=&gt;&#39;ToGo&#39;));
  echo $this-&gt;Form-&gt;input(&#39;image_number&#39;);
  echo $this-&gt;Form-&gt;end(&#39;Submit&#39;);
?&gt;]]&gt;&lt;/script&gt;


&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBRDXVPED0v_V1yol5LOqIFtyHtNYcPabdCTqJ-5u-z_82yktj-GlV7cri_HgXn9jpXz7Cea-l-HV-88hU1UJOCETtX_ayayHXdbOiK-TmRtLr_I3dXi1HZHdE-_SUmEWUIWmIewzwbEw/s1600/020301.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;149&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBRDXVPED0v_V1yol5LOqIFtyHtNYcPabdCTqJ-5u-z_82yktj-GlV7cri_HgXn9jpXz7Cea-l-HV-88hU1UJOCETtX_ayayHXdbOiK-TmRtLr_I3dXi1HZHdE-_SUmEWUIWmIewzwbEw/s320/020301.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
３－１－３．　edit_order_list.ctp&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　データ更新用の画面です。データ追加の画面とほぼ同一です。実行時には修正前データが画面　表示されます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“edit_order_list.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;h1&gt;
商品編集&lt;/h1&gt;
&lt;p&gt;
PizzaData Edit Form.&lt;/p&gt;
&lt;?php
  echo $this-&gt;Form-&gt;create(&#39;OrderList&#39;);
  echo $this-&gt;Form-&gt;input(&#39;id&#39;);
  echo $this-&gt;Form-&gt;input(&#39;title&#39;);
  echo $this-&gt;Form-&gt;input(&#39;size&#39;,array(&#39;type&#39;=&gt;&#39;select&#39;,&#39;options&#39;=&gt;array(&#39;S&#39;=&gt;&#39;S&#39;,&#39;M&#39;=&gt;&#39;M&#39;,&#39;L&#39;=&gt;&#39;L&#39;),&#39;default&#39;=&gt;&#39;S&#39;));
  echo $this-&gt;Form-&gt;input(&#39;price&#39;);
  echo $this-&gt;Form-&gt;input(&#39;to_go&#39;,array(&#39;type&#39;=&gt;&#39;radio&#39;,&#39;options&#39;=&gt;array(&#39;ToGo&#39;=&gt;&#39;ToGo&#39;,&#39;ForHere&#39;=&gt;&#39;ForHere&#39;),&#39;default&#39;=&gt;&#39;ToGo&#39;));
  echo $this-&gt;Form-&gt;input(&#39;image_number&#39;);
  echo $this-&gt;Form-&gt;end(&#39;Submit&#39;);
?&gt;]]&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP01UZpCyEuz_knn0Dz16wh8_7sRHfxHgqLQUSkbSAs8DqABMEYG01O8xSqbMnv41CaOo1jLPvHw7IFWgWAi1xX4SL9xokS7Y5_laQOBiZ6DSvg64RwpYnWyPgdhWrSqN4gb0fwFx0fH0/s1600/020302.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;147&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjP01UZpCyEuz_knn0Dz16wh8_7sRHfxHgqLQUSkbSAs8DqABMEYG01O8xSqbMnv41CaOo1jLPvHw7IFWgWAi1xX4SL9xokS7Y5_laQOBiZ6DSvg64RwpYnWyPgdhWrSqN4gb0fwFx0fH0/s320/020302.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
３－１－４．　delete_order_list.ctp&lt;br /&gt;
　データ削除前の確認用画面です。一応表示専用にしてみました。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“delete_order_list.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;h1&gt;
商品削除&lt;/h1&gt;
&lt;p&gt;
PizzaData Delete Form.&lt;/p&gt;
&lt;?php echo $this-&gt;Form-&gt;create(&#39;OrderList&#39;); ?&gt;
&lt;p&gt;
title: &lt;?php echo $this-&gt;Form-&gt;value(&#39;title&#39;); ?&gt; &lt;/p&gt;
&lt;p&gt;
size:  &lt;?php echo $this-&gt;Form-&gt;value(&#39;size&#39;); ?&gt; &lt;/p&gt;
&lt;p&gt;
price: &lt;?php echo $this-&gt;Form-&gt;value(&#39;price&#39;); ?&gt; &lt;/p&gt;
&lt;p&gt;
to_go: &lt;?php echo $this-&gt;Form-&gt;value(&#39;to_go&#39;); ?&gt; &lt;/p&gt;
&lt;p&gt;
image_number:  &lt;?php echo $this-&gt;Form-&gt;value(&#39;image_number&#39;); ?&gt; &lt;/p&gt;
&lt;?php echo $this-&gt;Form-&gt;end(&#39;Submit&#39;); ?&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizYtfnE092rl7TYeR2W1OqW55J_xcGdM0xrPg8fVkBPQ6kyCRUAuHXjyLts2EbMyaKfuAlzlebalq0Iewc3F1u_D7MCNS5Sch0cqxNO-0iZOIaOVLy_7XBNBSmqJFCyX1Yt4uZiioadbE/s1600/020303.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;142&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEizYtfnE092rl7TYeR2W1OqW55J_xcGdM0xrPg8fVkBPQ6kyCRUAuHXjyLts2EbMyaKfuAlzlebalq0Iewc3F1u_D7MCNS5Sch0cqxNO-0iZOIaOVLy_7XBNBSmqJFCyX1Yt4uZiioadbE/s320/020303.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;３－２．Controllerの見直し&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　最後にプログラム「OrderListsController.php」の見直しです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　このプログラムは、画面に対応する4つのfunctionで構成されています。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;３－２－１．　function index()&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（１）まず入力ボタンがクリックされたかの確認をしています。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　if ($this-&amp;gt;request-&amp;gt;is(&#39;post&#39;) || $this-&amp;gt;request-&amp;gt;is(&#39;put&#39;)) {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　　　のように’post’と’put’の両方を聞くのが常とうのようです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（２）index.ctpで各ボタンにつけた名前を順番に聞いていき、そのボタンにあった処理を実行します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　if(isset($this-&amp;gt;request-&amp;gt;data[&#39;list_add&#39;])) {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（３）編集や削除のボタンをクリックされた場合、該等のidをセットしてリダイレクトします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$list_number = $this-&amp;gt;request-&amp;gt;data[OrderList][&#39;№：&#39;];&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; $this-&amp;gt;redirect(&#39;../OrderLists/DeleteOrderList/&#39;.urlencode($list_number));&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（４）ボタンがクリックされていなかった場合、初期設定を行い登録済みデータを画面に出力します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　ボタンクリックの判定をクリックされたときとするか、クリックされていなかったときとするかは、プロジェクト内で統一しておいた方が良いと思います。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;３－２－２．　function AddOrderList()&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（１）入力内容をデータベースに保存後、インデックス画面にリダイレクトしています。インデックス画面で登録内容が確認できます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$this-&amp;gt;OrderList-&amp;gt;save($this-&amp;gt;request-&amp;gt;data);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; $this-&amp;gt;redirect(array(&#39;action&#39; =&amp;gt; &#39;index&#39;));&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
※このとき、意図的にボタンクリックの判定を’post’のみにしてみましたが、特に問題はありません　でした。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;３－２－３．　function EditOrderList($id) と function DeleteOrderList($id)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（１）URLで渡された’№：’を’$id’で受け取ります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$this-&amp;gt;OrderList-&amp;gt;id = $id;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（２）入力内容をデータベースに保存または削除後、インデックス画面にリダイレクトしています。インデックス画面で更新結果が確認できます。追加と更新は同じ構文となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$this-&amp;gt;OrderList-&amp;gt;save($this-&amp;gt;request-&amp;gt;data);&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;・・・更新&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$this-&amp;gt;OrderList-&amp;gt;delete($this-&amp;gt;request-&amp;gt;data(&#39;OrderList.id&#39;));&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;・・・削除&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; $this-&amp;gt;redirect(array(&#39;action&#39; =&amp;gt; &#39;index&#39;));&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　（３）ボタンがクリックされていなかった場合、idで指定されたデータを画面に表示します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　　更新も削除も構文は同じです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　$this-&amp;gt;request-&amp;gt;data = $this-&amp;gt;OrderList-&amp;gt;read(null, $id);&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
下の枠をクリックするとソースを展開します&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;script class=&quot;brush: php collapse:true&quot; title=&quot;“OrderListContoroller”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;?php
class OrderListsController extends AppController {
    
    public function index() {
        if ($this-&gt;request-&gt;is(&#39;post&#39;) || $this-&gt;request-&gt;is(&#39;put&#39;)) {            
            if(isset($this-&gt;request-&gt;data[&#39;list_add&#39;])) {
                $this-&gt;redirect(&#39;../OrderLists/AddOrderList&#39;);
            } else { 
                if(isset($this-&gt;request-&gt;data[&#39;list_edit&#39;])) {
                    $list_number = $this-&gt;request-&gt;data[OrderList][&#39;№：&#39;];
                    $this-&gt;redirect(&#39;../OrderLists/EditOrderList/&#39;.urlencode($list_number));
                } else {
                    if(isset($this-&gt;request-&gt;data[&#39;list_delete&#39;])) {
                        $list_number = $this-&gt;request-&gt;data[OrderList][&#39;№：&#39;];
                        $this-&gt;redirect(&#39;../OrderLists/DeleteOrderList/&#39;.urlencode($list_number));
                    } else {
                        $this-&gt;Session-&gt;setFlash(&#39;処理がありません！！。&#39;);                       
            }   }   }
        } else {
            // 初期画面の設定    
            $this-&gt;layout = &#39;OrderList&#39;;
            $this-&gt;set(&#39;title_for_layout&#39;,&#39;CakePHP演習　Pizzaのオーダーリスト出力画面&#39;);
            $this-&gt;set(&#39;header_for_layout&#39;,&#39;ピザのオーダーリスト&#39;);
            $this-&gt;set(&#39;footer_for_layout&#39;,&#39;NetBeans＆CakePHP&#39;);        
            // 登録済みデータを表示    
            $OrderList = $this-&gt;OrderList-&gt;find(&#39;all&#39;);
            $this-&gt;set(&#39;OrderLists&#39;, $OrderList);        
        }     
    }
        
    public function AddOrderList() {
       if ($this-&gt;request-&gt;is(&#39;post&#39;)) {
            $this-&gt;OrderList-&gt;save($this-&gt;request-&gt;data);
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        } else {
        // 初期画面の設定    
        $this-&gt;layout = &#39;OrderList&#39;;
        $this-&gt;set(&#39;title_for_layout&#39;,&#39;CakePHP演習　Pizzaのオーダーリスト出力画面&#39;);
        $this-&gt;set(&#39;header_for_layout&#39;,&#39;ピザのオーダーリスト&#39;);
        $this-&gt;set(&#39;footer_for_layout&#39;,&#39;NetBeans＆CakePHP&#39;);        
        }
    }
    
    public function EditOrderList($id) {
        $this-&gt;OrderList-&gt;id = $id;
        if ($this-&gt;request-&gt;is(&#39;post&#39;) || $this-&gt;request-&gt;is(&#39;put&#39;)) {
            $this-&gt;OrderList-&gt;save($this-&gt;request-&gt;data);
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        } else {
            // 初期画面の設定    
            $this-&gt;layout = &#39;OrderList&#39;;
            $this-&gt;set(&#39;title_for_layout&#39;,&#39;CakePHP演習　Pizzaのオーダーリスト出力画面&#39;);
            $this-&gt;set(&#39;header_for_layout&#39;,&#39;ピザのオーダーリスト&#39;);
            $this-&gt;set(&#39;footer_for_layout&#39;,&#39;NetBeans＆CakePHP&#39;);        
            // 編集対象データを画面表示
            $this-&gt;request-&gt;data = $this-&gt;OrderList-&gt;read(null, $id);
        }
    }
    
    public function DeleteOrderList($id) {
        $this-&gt;OrderList-&gt;id = $id;
        if ($this-&gt;request-&gt;is(&#39;post&#39;) || $this-&gt;request-&gt;is(&#39;put&#39;)) {
            $this-&gt;OrderList-&gt;delete($this-&gt;request-&gt;data(&#39;OrderList.id&#39;));
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        } else {
             // 初期画面の設定    
            $this-&gt;layout = &#39;OrderList&#39;;
            $this-&gt;set(&#39;title_for_layout&#39;,&#39;CakePHP演習　Pizzaのオーダーリスト出力画面&#39;);
            $this-&gt;set(&#39;header_for_layout&#39;,&#39;ピザのオーダーリスト&#39;);
            $this-&gt;set(&#39;footer_for_layout&#39;,&#39;NetBeans＆CakePHP&#39;);        
            // 削除対象データを画面表示
            $this-&gt;request-&gt;data = $this-&gt;OrderList-&gt;read(null, $id);
        }
    }
}
?&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
以上で、データの登録、編集、削除が終わりました。&lt;br /&gt;
誤り等のご指摘がありましたら、何なりとコメントください。&lt;br /&gt;
よろしくお願いします。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;【重要】&lt;/b&gt;
当プログラムは入力項目のチェックをしておりませんので、悪意あるスクリプトなどを入力されると何が起きるかわかりません。公開を考えている方は、「&lt;b&gt;Sanitize&lt;/b&gt;」等を使用して不正なデータを取り込まないようにしてください。
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/02/netbeans-idecakephp_14.html&quot;&gt;（２/３）へ&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/4363994859471853524/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/4363994859471853524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/4363994859471853524'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp.html' title='NetBeans IDEとCakePHP データ更新（３/３）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBRDXVPED0v_V1yol5LOqIFtyHtNYcPabdCTqJ-5u-z_82yktj-GlV7cri_HgXn9jpXz7Cea-l-HV-88hU1UJOCETtX_ayayHXdbOiK-TmRtLr_I3dXi1HZHdE-_SUmEWUIWmIewzwbEw/s72-c/020301.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-6536179211541945764</id><published>2013-02-14T08:24:00.003+09:00</published><updated>2013-02-15T08:38:20.555+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CakePHP"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><title type='text'>NetBeans IDEとCakePHP データ更新（２/３）</title><content type='html'>&lt;br /&gt;
　1-3-1-2　編集と削除機能&lt;br /&gt;
ここまできたら、編集と削除も作ってみましょう。下記ソースを参考にしてください。&lt;br /&gt;
内容は、編集の場合「指定（id）のデータを画面に表示し、修正内容が送られてきたら、保存してindex画面を表示する。指定（id）データがない場合は、空画面を表示する。」削除の場合は、保存しての部分が削除してに変わるだけです。&lt;br /&gt;
アドレス欄には「http://localhost/PhpProject1/OrderLists/EditOrderList/1」&lt;br /&gt;
または「http://localhost/PhpProject1/OrderLists/DeleteOrderList/1」のように入力してください。&lt;br /&gt;
最後の「1」がレコードのidとなります。データが3件あって3件目を削除する場合は、&lt;br /&gt;
「http://localhost/PhpProject1/OrderLists/DeleteOrderList/3」となります。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“OrderListsController”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;?php
class OrderListsController extends AppController {

    public function index($id = null) {
        $OrderList = $this-&gt;OrderList-&gt;find(&#39;all&#39;);
        debug($OrderList);
    }
 
    public function AddOrderList() {
        if ($this-&gt;request-&gt;is(put)) {
            $this-&gt;OrderList-&gt;save($this-&gt;request-&gt;data);
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        }
    }
    public function EditOrderList($id) {
        $this-&gt;OrderList-&gt;id = $id;
        if ($this-&gt;request-&gt;is(put) or $this-&gt;request-&gt;is(&#39;put&#39;)) {
            $this-&gt;OrderList-&gt;save($this-&gt;request-&gt;data);
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        } else {
            $this-&gt;request-&gt;data = $this-&gt;OrderList-&gt;read(null, $id);
        }
   }
   public function DeleteOrderList($id) {
        $this-&gt;OrderList-&gt;id = $id;
        if ($this-&gt;request-&gt;is(&#39;post&#39;) or $this-&gt;request-&gt;is(&#39;put&#39;)) {
            $this-&gt;OrderList-&gt;delete($this-&gt;request-&gt;data(&#39;OrderList.id&#39;));
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        } else {
            $this-&gt;request-&gt;data = $this-&gt;OrderList-&gt;read(null, $id);
        }
    }
}
?&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
２．フォームを作成する。（レイアウトとcss）&lt;br /&gt;
2-1.　今まで見てきた画面は、CakePHPで用意されているレイアウト「default.ctp」とcss「cake.generic.css」を利用して出力されていました。&lt;br /&gt;
　　これから、OrderList用のレイアウトとcssで画面を作成していきます。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif5rk5CghbL-tGz31NW9Gbg36b59nRpRn3xGIZaLo3BVNOiVFiPnOviZqf3mAL32sLIanvhq4bb338Qh4_2-IldN082AKctPFzqP3_E6ndMOLMHnqzFclSXStqnIXq8zZxzH3robr2MYk/s1600/020201.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;104&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif5rk5CghbL-tGz31NW9Gbg36b59nRpRn3xGIZaLo3BVNOiVFiPnOviZqf3mAL32sLIanvhq4bb338Qh4_2-IldN082AKctPFzqP3_E6ndMOLMHnqzFclSXStqnIXq8zZxzH3robr2MYk/s320/020201.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-2　CakePHPレイアウトの構成を表すファイルとデザインを表すファイルを分けています。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-2-1　レイアウト構成&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
今回はヘッダー、ボディ、フッターの構成を作成します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
「View」を展開して「Layouts」フォルダーで右クリックして「新規」から「OrderList.ctp」を作成しましょう。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
＜head＞～＜/head＞は、HTMLのヘッダー部です。＄変数はプログラムで値をセットします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
「echo $this-&amp;gt;html-&amp;gt;css(&#39;OrderList&#39;);」は、デザインに関する記述ですが、あとで説明します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
＜body＞～＜/body＞の中にレイアウトを定義します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・＜div id=&quot;header&quot;＞は、ヘッダー部&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・＜div id=&quot;content&quot;＞は、データ部&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・＜div id=&quot;footer&quot;＞は、フッター部&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
の構成とします。データ部以外は任意であり、なくてもかまいません。また、＄変数については、プログラムで値をセットしますが、データ部の「$content_for_layout」は、各画面の「.ctp」ファイルから展開されます。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“OrderList.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;
  &lt;?php echo $this-&gt;html-&gt;charset(); ?&gt;
  &lt;title&gt;
    &lt;?php echo $title_for_layout; ?&gt;
  &lt;/title&gt;
    &lt;?php
        echo $this-&gt;html-&gt;meta(&#39;icon&#39;);
        echo $this-&gt;html-&gt;css(&#39;OrderList&#39;);
    ?&gt;
&lt;/head&gt;

&lt;body&gt;
    &lt;div id=&quot;container&quot;&gt;
    
        &lt;div id=&quot;header&quot;&gt;
   
            &lt;h1&gt;
&lt;?php echo $header_for_layout; ?&gt;&lt;/h1&gt;
&lt;/div&gt;
&lt;div id=&quot;content&quot;&gt;
  
            &lt;?php echo $content_for_layout; ?&gt;
        &lt;/div&gt;
&lt;div id=&quot;footer&quot;&gt;
   
            &lt;?php echo $footer_for_layout; ?&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
2-2-2　デザイン設定&lt;br /&gt;
　　　先程出てきた「css」ファイルについてです。cssとは？についての説明は省略させていただきます。&lt;br /&gt;
　　　画面のデザインはデフォルトの「cake.generic.css」を使用していましたが、もう少し実用的な画面になるようにしたいと思います。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJdFGBBfHWuZUKNVYV-wnePalAbwuFqH1amHmIgSVyRqbDTgMimkSCY9QVsKuenn1Xit0ZarxmlND0wep9lpBY1GlWY3OA1Z6RuQGlzEEVLMK4vWwPmq3YmWRM0oUWMWENhMsN4_MtnvA/s1600/020202.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;124&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJdFGBBfHWuZUKNVYV-wnePalAbwuFqH1amHmIgSVyRqbDTgMimkSCY9QVsKuenn1Xit0ZarxmlND0wep9lpBY1GlWY3OA1Z6RuQGlzEEVLMK4vWwPmq3YmWRM0oUWMWENhMsN4_MtnvA/s320/020202.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
ここで、重要なのは、画面イメージを持っておくことです。こういう画面を出すためには、どういった&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
cssが必要かという観点からcssを作成します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
まずは「webroot」を展開して「css」フォルダーで右クリックして「新規」から「OrderList.css」を&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
作成しましょう。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
以下の画面イメージを使用して説明します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUsrcZ3YoWNgBw2YsZVm774w-9P7WRo2HI12qdKtLw4-03-z6TaertLycAwrvg6_r2emztAezmSiUcF7-SIfdo3e1SfebEf88dLM_7UIwsp6Wpeq1Kv8tPs6HmG1PuVk3-wHrmWUjK1t4/s1600/02020201.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;91&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUsrcZ3YoWNgBw2YsZVm774w-9P7WRo2HI12qdKtLw4-03-z6TaertLycAwrvg6_r2emztAezmSiUcF7-SIfdo3e1SfebEf88dLM_7UIwsp6Wpeq1Kv8tPs6HmG1PuVk3-wHrmWUjK1t4/s320/02020201.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-2-2-1　テーブル&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　Tableの構成を定義します。ここでは、スタイル・ビルダーを使用しました。私のようにデザイン力のない場合、重宝いたします。「th」「td」も同様に作成します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoDZ2IOTiq7zuOlhxhrnn7KudWl9gKP-MFstvdK242ltl_j52o2fviBiNtc8kUuP3h86EHlKGwI_7wV5ICVHMyAJa18Cg01-s2u7BYQfoLESX-IduGkM7IRrO5fz4fO0Wzum1tkdg5HKY/s1600/02020202.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;120&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoDZ2IOTiq7zuOlhxhrnn7KudWl9gKP-MFstvdK242ltl_j52o2fviBiNtc8kUuP3h86EHlKGwI_7wV5ICVHMyAJa18Cg01-s2u7BYQfoLESX-IduGkM7IRrO5fz4fO0Wzum1tkdg5HKY/s320/02020202.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
2-2-2-2　submitボタンを横に並べる。&lt;/div&gt;
&lt;div&gt;
まず、「index.ctp」に以下の部分を追加します。&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“index.ctp”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

&lt;div id=&quot;action_group&quot;&gt;
    &lt;ul&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;input(&#39;№：&#39;,array(&#39;size&#39;=&gt;2)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;追加&#39;,array(&#39;name&#39;=&gt;&#39;list_add&#39;)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;更新&#39;,array(&#39;name&#39;=&gt;&#39;list_edit&#39;)); ?&gt;&lt;/li&gt;
&lt;li&gt;&lt;?php echo $this-&gt;Form-&gt;submit(&#39;削除&#39;,array(&#39;name&#39;=&gt;&#39;list_delete&#39;)); ?&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
次にcssの方に以下の内容を追加してください。&lt;br /&gt;
#action_group ul li {&lt;br /&gt;
&amp;nbsp; &amp;nbsp; list-style-type: none;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; float:left;&lt;br /&gt;
}&lt;br /&gt;
2-2-2-3　radioボタンを横に並べる。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9QHTyFLZNqb21i12KNpZ9lY-BGy-bH6sGhGweHBkyNFJhgxFJ6TPl7WtinEwsNVvlZ-vIi4kNOE2Ac0FDttK_xmF6eeOv19SicfEZX_13nasdrWzBaJ9WphZiV5Tp04VNN7OJaHsP0UU/s1600/020203.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi9QHTyFLZNqb21i12KNpZ9lY-BGy-bH6sGhGweHBkyNFJhgxFJ6TPl7WtinEwsNVvlZ-vIi4kNOE2Ac0FDttK_xmF6eeOv19SicfEZX_13nasdrWzBaJ9WphZiV5Tp04VNN7OJaHsP0UU/s1600/020203.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
これは、以下の内容を追加することでできます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
.input radio {&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; display: inline;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&amp;nbsp; &amp;nbsp; text-align: left;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-2-2-4　完成した「OrderList.css」。下の枠をクリックするとソースを展開します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;script class=&quot;brush: php collapse:true=&quot; title=&quot;“OrderList.css”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[

@charset &quot;utf-8&quot;;

/* --- 全体の背景・テキスト --- */
body {
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; /* ページの背景色 */
    color: #000000; /* 全体の文字色 */
    font-size: 100%; /* 全体の文字サイズ */
}

/* --- 全体のリンクテキスト --- */
a:link { color: #0000ff; }
a:visited { color: #800080; }
a:hover { color: #ff0000; }
a:active { color: #ff0000; }

/* --- コンテナ --- */
#container {
    width: 780px; /* ページの幅 */
    margin: 0 auto; /* センタリング */
}

/* --- ヘッダ --- */
#header {
    background-color: #ffe080; /* ヘッダの背景色 */
}

/* --- コンテンツ --- */
#content {
    background-color: #ffffff; /* コンテンツの背景色 */
}

/* --- フッタ --- */
#footer {
    text-align:right;
    background-color: #cccccc; /* フッタの背景色 */
}

/* --- ボタンを横並びに配置 --- */
#action_group ul li {
    list-style-type: none;
    float:left;
}

/* --- ラジオボタンを横並びに配置 --- */
.input radio {
    display: inline;
    text-align: left;
}
.input textarea {
 clear: both;
 font-size: 140%;
 font-family: &quot;frutiger linotype&quot;, &quot;lucida grande&quot;, &quot;verdana&quot;, sans-serif;
 padding: 1%;
 width:98%;
        line-height: 1px;
}        

/* --- テーブル --- */
table {
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: orange;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: orange;    
}
th {
    text-align:center;
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: orange;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: orange;
    font-weight: bold;
    color: white;
    background-color: orange;
}
td {
    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: orange;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: orange;
}
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/02/netbeans-idecakephp-n.html&quot;&gt;（１/３）へ&lt;/a&gt;　　　　　　&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/02/netbeans-idecakephp.html&quot;&gt;（３/３）へ&lt;/a&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/6536179211541945764/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp_14.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6536179211541945764'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6536179211541945764'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp_14.html' title='NetBeans IDEとCakePHP データ更新（２/３）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEif5rk5CghbL-tGz31NW9Gbg36b59nRpRn3xGIZaLo3BVNOiVFiPnOviZqf3mAL32sLIanvhq4bb338Qh4_2-IldN082AKctPFzqP3_E6ndMOLMHnqzFclSXStqnIXq8zZxzH3robr2MYk/s72-c/020201.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-1456175914377603183</id><published>2013-02-13T13:32:00.000+09:00</published><updated>2013-02-14T08:29:56.100+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CakePHP"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><title type='text'>NetBeans IDEとCakePHP データ更新（１/３）</title><content type='html'>&lt;br /&gt;
Ⅱ　フォーム&lt;br /&gt;
&lt;br /&gt;
まだデータが0件なので、データの追加、編集、削除の機能を追加していきます。&lt;br /&gt;
&lt;br /&gt;
１．追加、編集、削除のプログラム&lt;br /&gt;
1-1 Viewの作成&lt;br /&gt;
　order_listsテーブルから入力が必要となる項目について定義します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs90uQ20oLUnITFEhz2YEJ5-gxwjEwqvmZqHUtMJMLoTxJ_uw5TivprUhOqDbMLVsVMl2Mc94VfDGA0mcPkLiG1WoNa0URXINpKAEb_KCa-P37Xp_k9q_MZFGWsvK-tbDvjuGk2-qZLmc/s1600/020101.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs90uQ20oLUnITFEhz2YEJ5-gxwjEwqvmZqHUtMJMLoTxJ_uw5TivprUhOqDbMLVsVMl2Mc94VfDGA0mcPkLiG1WoNa0URXINpKAEb_KCa-P37Xp_k9q_MZFGWsvK-tbDvjuGk2-qZLmc/s320/020101.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
このうち、id、created、modifiedは、自動設定項目なので、画面項目からはずします。&lt;/div&gt;
&lt;div&gt;
　・id：レコード番号として連番が振られる。&lt;/div&gt;
&lt;div&gt;
　・created：レコード追加時の年月日日時分秒がセットされる。&lt;/div&gt;
&lt;div&gt;
　・modified：レコード追加またはレコード編集時の年月日日時分秒がセットされる。&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1-2 Viewの作成&lt;/div&gt;
&lt;div&gt;
　　・ファイル名はアンダースコア型ですので、追加のViewファイル名は「add_order_list.ctp」とします。&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikv5gnyzm_t1zaSI1EyatIhz6i0Te2YW91Gr3jXbH2MOE47IFr0BzNpKBqpTyB4xgt5BRGZ7Uq4tnYv95VpsUHyYra3vsGRSRTAokCDOXLG3ge4mtNlCQVbqcor_us5BWpcK1nzn_pv34/s1600/020102.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;98&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikv5gnyzm_t1zaSI1EyatIhz6i0Te2YW91Gr3jXbH2MOE47IFr0BzNpKBqpTyB4xgt5BRGZ7Uq4tnYv95VpsUHyYra3vsGRSRTAokCDOXLG3ge4mtNlCQVbqcor_us5BWpcK1nzn_pv34/s320/020102.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
　・create（テーブル名）、input（入力項目名）、end（送信ボタン）&lt;/div&gt;
&lt;div&gt;
これで入力画面ができました。同じように編集と削除も作成してください。ファイルだけ作成して内容はまったく同じでもかまいません。一応1行目と2行目は修正しておいた方がのちのち分かりやすいかもしれません。&lt;/div&gt;
&lt;div&gt;
　・編集用ctpファイル：edit_order_list.ctp&lt;/div&gt;
&lt;div&gt;
　・削除用ctpファイル：delete_order_list.ctp&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
1-3 Controllerの作成（機能追加）&lt;/div&gt;
&lt;div&gt;
　1-3-1　追加機能&lt;/div&gt;
&lt;div&gt;
public function index($id = null)の次のファンクションとしてpublic function AddOrderList()を追加します。これは、Viewのファイル名が「add_order_list.ctp」となっているからです。&lt;/div&gt;
&lt;div&gt;
下にサンプルソースがありますが、これは、「データが送信されたらテーブルに書いてindex画面を出力する。」という内容になっています。&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;script class=&quot;brush: php&quot; title=&quot;“OrderListsController”&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
&lt;?php
class OrderListsController extends AppController {

    public function index($id = null) {
        $OrderList = $this-&gt;OrderList-&gt;find(&#39;all&#39;);
        debug($OrderList);
    }
 
    public function AddOrderList() {
        if ($this-&gt;request-&gt;is(&#39;post&#39;)) {
            $this-&gt;OrderList-&gt;save($this-&gt;request-&gt;data);
            $this-&gt;redirect(array(&#39;action&#39; =&gt; &#39;index&#39;));
        }
    }
}
?&gt;
]]&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
　1-3-1-1　追加機能&lt;br /&gt;
これでもう実行できます。ツールバーのアイコンをクリックして実行してみましょう。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9DWp7u8CPJOzLqtiErw5oakR_pffrfge5qjkE7aTWDO0skt0y68sLoH2NPBoFBg9J5D6DzJlAaLhgO1QD-EP9DQIBgawxgrROcjVrFyjXc41bB4MotGuKNBns8VJ1OcZeRYD5Jwluml8/s1600/02010302.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;36&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9DWp7u8CPJOzLqtiErw5oakR_pffrfge5qjkE7aTWDO0skt0y68sLoH2NPBoFBg9J5D6DzJlAaLhgO1QD-EP9DQIBgawxgrROcjVrFyjXc41bB4MotGuKNBns8VJ1OcZeRYD5Jwluml8/s320/02010302.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
アドレス欄が下記のようになっている場合、「OrderLists/AddOrderList」を面倒ですが、手打ちしてください。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjcU_3z4rrikYkKNlECgArQkO-XqfSv2Gj250EhC5YGhx4KeYlxQRHARBRI0ADUhxA4uZ9N_5nzOx06Ah5v4HvtTTElVRx-83MrKy7Ul7bA1uNF2D9zvH2UsILk6qCGXKrCDfOt8DdTpU/s1600/02010303.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;70&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjcU_3z4rrikYkKNlECgArQkO-XqfSv2Gj250EhC5YGhx4KeYlxQRHARBRI0ADUhxA4uZ9N_5nzOx06Ah5v4HvtTTElVRx-83MrKy7Ul7bA1uNF2D9zvH2UsILk6qCGXKrCDfOt8DdTpU/s320/02010303.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
出てきた画面は、なんともみっともない画面ですが、まだ何も成形していないのでしょうがないと思ってください。しかし、機能としては問題ないので実際にデータを入力してみてください。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
※データチェックを行っていないため、異常データを入力すると予期せぬ事態が起きる場合があります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH6Gc12Apk4J_rio1yUJn3Ls-b60M0oYKdUXxdYcwtbzFN8BgMMsaCY3Gp3hH0TNSdZ09UOhSJf2wTuzWokH_i75PRUO8IM8AoY-LKT8jfH6Zzyp2U3x6L1sb6qy0drqQRZmDmokTnrFs/s1600/02010304.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;239&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH6Gc12Apk4J_rio1yUJn3Ls-b60M0oYKdUXxdYcwtbzFN8BgMMsaCY3Gp3hH0TNSdZ09UOhSJf2wTuzWokH_i75PRUO8IM8AoY-LKT8jfH6Zzyp2U3x6L1sb6qy0drqQRZmDmokTnrFs/s320/02010304.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
実行結果画面&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJGX2bUKDL3e9PfaS8Zsjo9xi1BgU8a8exSUnuZVLEjz66UtnusPpdSPzIF1vjzB-u-zrVlrL28H_7rxfUqg8VOnUiNAkoJEzNyMLkThWT2jbqtTzsoP7kG6wM23ZemIYV2Q2A7InkDEs/s1600/02010305.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;187&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJGX2bUKDL3e9PfaS8Zsjo9xi1BgU8a8exSUnuZVLEjz66UtnusPpdSPzIF1vjzB-u-zrVlrL28H_7rxfUqg8VOnUiNAkoJEzNyMLkThWT2jbqtTzsoP7kG6wM23ZemIYV2Q2A7InkDEs/s320/02010305.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/02/netbeans-idecakephp_14.html&quot;&gt;（２/３）へ&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/1456175914377603183/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp-n.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1456175914377603183'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1456175914377603183'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/02/netbeans-idecakephp-n.html' title='NetBeans IDEとCakePHP データ更新（１/３）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjs90uQ20oLUnITFEhz2YEJ5-gxwjEwqvmZqHUtMJMLoTxJ_uw5TivprUhOqDbMLVsVMl2Mc94VfDGA0mcPkLiG1WoNa0URXINpKAEb_KCa-P37Xp_k9q_MZFGWsvK-tbDvjuGk2-qZLmc/s72-c/020101.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-5433680422479072040</id><published>2013-01-31T08:43:00.000+09:00</published><updated>2013-01-31T08:43:22.131+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP プログラム編（４/４）</title><content type='html'>3-3. Controllerを作成する。&lt;br /&gt;
&amp;nbsp;・ナビゲータの「Controller」を右クリックして「新規」→「PHPファイル…」をクリックします。&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN3LbLnGolCHscCjx8OUQU1_4tyYYyl-B3VtSh7U_ZmmrIUE42RB6vtmeKFFr9PJCQiZdezf0nRRPuzpKR8G1c2exnptmHoYzmxEjpp6BFz1_o9J4uQC5-lwSHkxgg2HaPoaegJR1isJA/s1600/010313.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;275&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN3LbLnGolCHscCjx8OUQU1_4tyYYyl-B3VtSh7U_ZmmrIUE42RB6vtmeKFFr9PJCQiZdezf0nRRPuzpKR8G1c2exnptmHoYzmxEjpp6BFz1_o9J4uQC5-lwSHkxgg2HaPoaegJR1isJA/s320/010313.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN3LbLnGolCHscCjx8OUQU1_4tyYYyl-B3VtSh7U_ZmmrIUE42RB6vtmeKFFr9PJCQiZdezf0nRRPuzpKR8G1c2exnptmHoYzmxEjpp6BFz1_o9J4uQC5-lwSHkxgg2HaPoaegJR1isJA/s1600/010313.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
・ファイル名に「OrderListsController」と入力します。確認後【終了（F）】をクリックします。&lt;br /&gt;
　※Contorollerのファイル名は、Viewフォルダー名称に“Contoroller”をつけたものとなります。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdpCPzC45uK9nCTT-8RhKBMqNhHWdkrNSl5_I3PkdOtcaXuZq6qSKkdBZIFjgY8kjBgQxVsAMbASoeZ86DnM0p1Txld82AGtkTOOCkJ_Qn8okJ4Q6zpaCw4sfsaFSraoOgEqdb10kmkQ/s1600/010314.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdpCPzC45uK9nCTT-8RhKBMqNhHWdkrNSl5_I3PkdOtcaXuZq6qSKkdBZIFjgY8kjBgQxVsAMbASoeZ86DnM0p1Txld82AGtkTOOCkJ_Qn8okJ4Q6zpaCw4sfsaFSraoOgEqdb10kmkQ/s320/010314.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
・OrderListsテーブルの内容をすべて表示するプログラムを書いてみます。&lt;br /&gt;
　「public function index($id = null)」の「index」がViewで作成した「index.ctp」と連携しています。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqRbDlswduwY_fcgwnIwuDJuMtv0-IcHMVIA-0H3Boeh-9udNYLM-m9zjxZUTXeV5fhaiayjQjnTQ4ugTcBZlM_pBEabFIRAnISnBfDh0qeB53m2Y47lYGo1vWX2ZF7NXy0Ozg0S7e_z8/s1600/010315.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;101&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqRbDlswduwY_fcgwnIwuDJuMtv0-IcHMVIA-0H3Boeh-9udNYLM-m9zjxZUTXeV5fhaiayjQjnTQ4ugTcBZlM_pBEabFIRAnISnBfDh0qeB53m2Y47lYGo1vWX2ZF7NXy0Ozg0S7e_z8/s320/010315.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.ここまでのまとめ&lt;/b&gt;&lt;br /&gt;
&lt;h4&gt;
    4-1 CakePHPの規約&lt;/h4&gt;
&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;border-collapse: collapse; width: 678px;&quot;&gt;
 &lt;colgroup&gt;&lt;col style=&quot;mso-width-alt: 832; mso-width-source: userset; width: 20pt;&quot; width=&quot;26&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 3136; mso-width-source: userset; width: 74pt;&quot; width=&quot;98&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 3616; mso-width-source: userset; width: 85pt;&quot; width=&quot;113&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 4128; mso-width-source: userset; width: 97pt;&quot; width=&quot;129&quot;&gt;&lt;/col&gt;
 &lt;col span=&quot;2&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;/col&gt;
 &lt;col style=&quot;mso-width-alt: 5376; mso-width-source: userset; width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;/col&gt;
 &lt;/colgroup&gt;&lt;tbody&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl70&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;№&lt;/td&gt;
  &lt;td class=&quot;xl71&quot; style=&quot;width: 74pt;&quot; width=&quot;98&quot;&gt;オブジェクト&lt;/td&gt;
  &lt;td class=&quot;xl71&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;種類&lt;/td&gt;
  &lt;td class=&quot;xl71&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;型&lt;/td&gt;
  &lt;td class=&quot;xl72&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;単数複数&lt;/td&gt;
  &lt;td class=&quot;xl72&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;拡張子&lt;/td&gt;
  &lt;td class=&quot;xl71&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;例&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;20&quot; style=&quot;height: 15.0pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;20&quot; style=&quot;height: 15.0pt; width: 20pt;&quot; width=&quot;26&quot;&gt;1&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 74pt;&quot; width=&quot;98&quot;&gt;テーブル&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;アンダースコア型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;複数形&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;order_lists&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;2&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 74pt;&quot; width=&quot;98&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Model&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;ファイル&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;キャメル型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;単数形&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;php&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;OrderList&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;3&lt;/td&gt;
  &lt;td class=&quot;xl66&quot; rowspan=&quot;2&quot; style=&quot;border-bottom: 1.0pt solid black; border-top: none; width: 74pt;&quot; width=&quot;98&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;View&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;フォルダー&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;キャメル型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;複数形&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;OrderLists&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;4&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;ファイル&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;アンダースコア型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;単数形&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;ctp&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;index、add_order_list&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;5&lt;/td&gt;
  &lt;td class=&quot;xl68&quot; rowspan=&quot;2&quot; style=&quot;border-bottom: 1.0pt solid black; border-top: none; width: 74pt;&quot; width=&quot;98&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;Controller&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;ファイル&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;キャメル型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;php&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;OrderListsController&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;tr height=&quot;19&quot; style=&quot;height: 14.25pt;&quot;&gt;
  &lt;td class=&quot;xl63&quot; height=&quot;19&quot; style=&quot;height: 14.25pt; width: 20pt;&quot; width=&quot;26&quot;&gt;6&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 85pt;&quot; width=&quot;113&quot;&gt;ファンクション&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 97pt;&quot; width=&quot;129&quot;&gt;キャメル型&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;単数形&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl65&quot; style=&quot;width: 54pt;&quot; width=&quot;72&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;-&lt;/span&gt;&lt;/td&gt;
  &lt;td class=&quot;xl64&quot; style=&quot;width: 126pt;&quot; width=&quot;168&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;index、AddOrderList&lt;/span&gt;&lt;/td&gt;
 &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
※Controllerのファンクション「AddOrderList」とViewのファイル「add_order_list」が対応しているのが分かりますね。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4-2 MVCの関連図&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjduwVyNSoOmWZp0CNFa5UKCnlSW4EYvIRrqvSouOatHaRwzifQroLE2JHaw-o29hkwHMMmJkEOmgcWyKp1ROWRq1ZbZW3NiVTfd24WjSw8Mc9ynFOxdIOQmcWBTTHyR9i3VuEK48LSpXM/s1600/010401.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjduwVyNSoOmWZp0CNFa5UKCnlSW4EYvIRrqvSouOatHaRwzifQroLE2JHaw-o29hkwHMMmJkEOmgcWyKp1ROWRq1ZbZW3NiVTfd24WjSw8Mc9ynFOxdIOQmcWBTTHyR9i3VuEK48LSpXM/s320/010401.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;５．実行してみる&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　ブラウザを起動して下記のアドレスを入力してみてください。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　データが0件なので下図のような画面が表示されます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　http://localhost/PhpProject1/OrderLists&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit3JXI6k32ugk3wukBOxAu0Z0K16nzN_28meGM-IlDFp-II4Pi_nh916K-y2G1ONV_ZyxYA58_fcE4Bhv2BL3PiqYTuVXO1c8WKJmTLr7CnGs3h3qQ1Rifjzz5xQXU0UyhT8ts8Y8bGzA/s1600/010501.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit3JXI6k32ugk3wukBOxAu0Z0K16nzN_28meGM-IlDFp-II4Pi_nh916K-y2G1ONV_ZyxYA58_fcE4Bhv2BL3PiqYTuVXO1c8WKJmTLr7CnGs3h3qQ1Rifjzz5xQXU0UyhT8ts8Y8bGzA/s320/010501.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
これで、MVCモデルは終わりです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
次回は、フォームを使ってデータの登録・編集・削除を行ってみます。&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/5433680422479072040/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_31.html#comment-form' title='2 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5433680422479072040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5433680422479072040'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_31.html' title='NetBeans IDEとCakePHP プログラム編（４/４）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhN3LbLnGolCHscCjx8OUQU1_4tyYYyl-B3VtSh7U_ZmmrIUE42RB6vtmeKFFr9PJCQiZdezf0nRRPuzpKR8G1c2exnptmHoYzmxEjpp6BFz1_o9J4uQC5-lwSHkxgg2HaPoaegJR1isJA/s72-c/010313.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-2007253858851906050</id><published>2013-01-30T08:39:00.000+09:00</published><updated>2013-01-31T08:44:57.735+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP プログラム編（３/４）</title><content type='html'>&lt;br /&gt;
&lt;b&gt;3-2. VIEWを作成する&lt;/b&gt;。&lt;br /&gt;
　Viewは、Viewフォルダー直下にファイルを置くのではなく、&lt;b&gt;&lt;u&gt;複数形のキャメル型表記&lt;/u&gt;&lt;/b&gt;でフォルダーを作成し、その配下にファイルを作成します。&lt;br /&gt;
&lt;br /&gt;
3-2-1. フォルダーの作成 ・ナビゲータの「View」を右クリックして「新規」→「その他…」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJnmYr_MWb3XBwNg4rilVJV8JHRxULLdMR-DvESMxtSNQO7Dd40SGyI7jPitMOVt1Dz9LsmhO2qYcPe08aqEbUzIhyGZj4PYVb8YKQFx4S4GD78HzX48IKEHruOo7vsOGQsDF5Px8uA4o/s1600/010304.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;298&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJnmYr_MWb3XBwNg4rilVJV8JHRxULLdMR-DvESMxtSNQO7Dd40SGyI7jPitMOVt1Dz9LsmhO2qYcPe08aqEbUzIhyGZj4PYVb8YKQFx4S4GD78HzX48IKEHruOo7vsOGQsDF5Px8uA4o/s320/010304.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
・カテゴリ（C）で「その他」をクリックしてファイル・タイプ（F）から「フォルダ」を選択し「次＞」をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTsReUbHpQap73sgJMWf1w9PEZHQnluQb5RYmxfo7kqwyZ8DhhefPdN_auoWtwjVtpApcsokm_8iYPe7i30jmEBgcrRKJYJU5GYgVjVHUlpaq93v7rNml-njn_ts5A-0L_2P1QxruOGQs/s1600/010305.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTsReUbHpQap73sgJMWf1w9PEZHQnluQb5RYmxfo7kqwyZ8DhhefPdN_auoWtwjVtpApcsokm_8iYPe7i30jmEBgcrRKJYJU5GYgVjVHUlpaq93v7rNml-njn_ts5A-0L_2P1QxruOGQs/s320/010305.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
・ファイル名に「OrderLists」と入力します。確認後【終了（F）】をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCSGX7_Xf0nEStRq75dtO-erF7oh5A3WQ7a3sS8EeZRBVoAK35MKX5ygQ2ZYbqdznRPBUc7nrDVUyWU03xhOFOwFz7-qNL-H4yVqXtmADzj1vY72xgGqQlc9Y6bPyMPgwcqYU2yn5qOs/s1600/010306.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbCSGX7_Xf0nEStRq75dtO-erF7oh5A3WQ7a3sS8EeZRBVoAK35MKX5ygQ2ZYbqdznRPBUc7nrDVUyWU03xhOFOwFz7-qNL-H4yVqXtmADzj1vY72xgGqQlc9Y6bPyMPgwcqYU2yn5qOs/s320/010306.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;3-2-2. ファイルの作成&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　・VIEWのファイル名はxxxxx.ctpのように拡張子が「ctp」となります。 この仕様はCakePHP独自のものなにで、通常のEditerでは、編集できません。 まずは、この拡張子をNetBeansが認識するようにします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
3-2-2-1 ファイルの関連付け&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　（１）メニューバー「ツール（T）」から「オプション（O）」を選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　（２）オプション画面の「その他（M）」から「ファイル」タブを選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　（３）「ファイル拡張子（E）：」の「ctp」と入力し、「関連付けられたファイル・タイプ（MINE）(T)：」 は「PHPファイル（text/xx-php5）」を一覧を表示し選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　（４）内容を確認し「OK」をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqw0nJUZSs0jKraM9XycssvA6cTeksD7JHCPfP6dDLonsCd-7jGWs1j0acCULKYctLB83NY7G-FLNGcBpSY5y4q9p21KsDOzzCjrGqDZGGU0_6ORjrUKkG2GBH-5-AZht35GkqsvVPpiI/s1600/010307.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;270&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqw0nJUZSs0jKraM9XycssvA6cTeksD7JHCPfP6dDLonsCd-7jGWs1j0acCULKYctLB83NY7G-FLNGcBpSY5y4q9p21KsDOzzCjrGqDZGGU0_6ORjrUKkG2GBH-5-AZht35GkqsvVPpiI/s320/010307.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
3-2-2-2　Ctpファイルの選択&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　 ・ナビゲータの「View」から「OrderLists」を右クリックして「新規」→上から2個目の「Empty Ctp file…」をクリックします。 2個目を選択する理由は、1個目の「Empty Ctp file…」は、CakePHP1.X用と思われるためです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikYEch-bW0SP54MOf5zZTOAaMdyCOaRq0bqAoVWAVg5AJYClA5YddDwG7ynaA98poeowYBWZ7Opp1ah2tTrnncv-6ireDqGpoCav_hP0ewNnxGVQ1vqydvCxTlpnMFGGQ0bKGFjVovPkQ/s1600/010308.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikYEch-bW0SP54MOf5zZTOAaMdyCOaRq0bqAoVWAVg5AJYClA5YddDwG7ynaA98poeowYBWZ7Opp1ah2tTrnncv-6ireDqGpoCav_hP0ewNnxGVQ1vqydvCxTlpnMFGGQ0bKGFjVovPkQ/s320/010308.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
3-2-2-3　関連付け後のファイルが選択できない場合&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　 ・もしも「Empty Ctp file」が見当たらない場合、「その他」を選択してください。 上記設定ができた場合は、&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_30.html#A3225&quot;&gt;3-2-2-5&lt;/a&gt;へ跳んでください。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOmRyUnOKv9wdRMXpOcyOeMnAfk-F_Ggm0VPLnjdFVIhwB4qkjKWy-RmV22VQ-eH5HLM68Be_BTX3IS9hoPJDbLwJNCn3V72vkwIqkcJucTvLjYpiCamt5Zzqcm87lIQdoqidTP8CcMD8/s1600/010309.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;253&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOmRyUnOKv9wdRMXpOcyOeMnAfk-F_Ggm0VPLnjdFVIhwB4qkjKWy-RmV22VQ-eH5HLM68Be_BTX3IS9hoPJDbLwJNCn3V72vkwIqkcJucTvLjYpiCamt5Zzqcm87lIQdoqidTP8CcMD8/s320/010309.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
3-2-2-4　ファイルタイプからの選択&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　・カテゴリ（C）で「CakePHP2 Framework」をクリックしてファイル・タイプ（F）から「Empty Ctp file」を選択し「次＞」をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDQEP5NHAI6PEBuTOPiCsta7Ir713OUwMBWaNbIZL-DSERt5MKs6cDNqoYrDtuuiV0gllUh2pC0owW-F_FsLpXKtivJ3f9DHB9jrkUAjWSO_3jqbdCql9xQhjGg4hOra6ulz_D-WzVYPk/s1600/010310.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiDQEP5NHAI6PEBuTOPiCsta7Ir713OUwMBWaNbIZL-DSERt5MKs6cDNqoYrDtuuiV0gllUh2pC0owW-F_FsLpXKtivJ3f9DHB9jrkUAjWSO_3jqbdCql9xQhjGg4hOra6ulz_D-WzVYPk/s320/010310.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;h3 id=&quot;A3225&quot;&gt;
3-2-2-5　ファイル名入力&lt;/h3&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・ファイル名に「index」と入力します。確認後【終了（F）】をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
トップページ以外の場合、名前は、単数形のアンダースコア型となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
仮にControllerにOrderListを表示するGetOrderList（）という関数があった場合Viewのファイル名は「get_order_list.ctp」となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit0gHdNc_FwVEICEavnBZr35f__Dlfuk9pQkxX8nzeHGGFyV_VitLa8NeoBNORKZLYivnm_tQteg8Kcb-W-n0UOGMuhfolumvXlJW8X21RsRjcAX0r7lLa75Yeg55DOSlBdV8b1OEg508/s1600/010311.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEit0gHdNc_FwVEICEavnBZr35f__Dlfuk9pQkxX8nzeHGGFyV_VitLa8NeoBNORKZLYivnm_tQteg8Kcb-W-n0UOGMuhfolumvXlJW8X21RsRjcAX0r7lLa75Yeg55DOSlBdV8b1OEg508/s320/010311.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
3-2-2-6&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・練習ですので、この段階では、最低限のHTML文を作成します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbAr98I-2NdUpo00u2zIojoNHw-iBB5DNR4SP8WbQu0PJ7n3PaessZA-vVGcHXFAU_FRW0ZPdZhl5VZlOrD1k9wOskRYlOjjFoF684yhnaDW3k-ZzQ7VDg-grra6UW6_vtdC3AavhIVa4/s1600/010312.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;122&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbAr98I-2NdUpo00u2zIojoNHw-iBB5DNR4SP8WbQu0PJ7n3PaessZA-vVGcHXFAU_FRW0ZPdZhl5VZlOrD1k9wOskRYlOjjFoF684yhnaDW3k-ZzQ7VDg-grra6UW6_vtdC3AavhIVa4/s320/010312.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
ここまでViewの説明でした。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_31.html&quot;&gt;次はControllerです&lt;/a&gt;。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/2007253858851906050/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_30.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2007253858851906050'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2007253858851906050'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_30.html' title='NetBeans IDEとCakePHP プログラム編（３/４）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJnmYr_MWb3XBwNg4rilVJV8JHRxULLdMR-DvESMxtSNQO7Dd40SGyI7jPitMOVt1Dz9LsmhO2qYcPe08aqEbUzIhyGZj4PYVb8YKQFx4S4GD78HzX48IKEHruOo7vsOGQsDF5Px8uA4o/s72-c/010304.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-5877412018090731649</id><published>2013-01-29T08:50:00.000+09:00</published><updated>2013-01-31T08:45:24.660+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP プログラム編（２/４）</title><content type='html'>&lt;br /&gt;
&lt;b&gt;３．MVCを知る&lt;/b&gt;&lt;br /&gt;
　　CakePHPは、MVCモデルを採用しています。簡単に表すと下記のようになります。&lt;br /&gt;
　　　・Model：データベース&lt;br /&gt;
　　　・View：画面&lt;br /&gt;
　　　・Controller：プログラム&lt;br /&gt;
それぞれの、機能は上記と同名のフォルダー内に作成します。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3-1. Modelを作成する。&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;・ナビゲータの「Model」を右クリックして「新規」→「PHPファイル…」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNaRdcLfthnmWgioJZL1ZYTGdPjk4x0D9E3Dl9yrne6XlkG6KJ747wXwZWwAmMVotzfTZ6fVRclTHtFQSZAkryvoAIs7305Ing_b0-NKzgxaLqzTdq5p1rvmiKJOAmJNzYMAxVf_i0Xvw/s1600/010301.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;129&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNaRdcLfthnmWgioJZL1ZYTGdPjk4x0D9E3Dl9yrne6XlkG6KJ747wXwZWwAmMVotzfTZ6fVRclTHtFQSZAkryvoAIs7305Ing_b0-NKzgxaLqzTdq5p1rvmiKJOAmJNzYMAxVf_i0Xvw/s320/010301.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・ファイル名に「OrderList」と入力します。確認後【終了（F）】をクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　※これは、テーブル名である「order_lists」を単数形のキャメル型表記にしたものです。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　「order_lists」はアンダースコア型表記となります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
・使用するテーブルを単数形のキャメル型表記で定義します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfIV9SsuUwCqAQLoYb-JlcB6fSoeikiMH8c2cVdtKKjckoKNaMFnPGLxxRoFaAiO3hWTDuiS1aH3Z2IluO0KM0eg2Uyq5VFe7qRRf-sS31a8wGenAa7MPB0ueDsdxCWtvObjnAgkKKSVA/s1600/010302.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfIV9SsuUwCqAQLoYb-JlcB6fSoeikiMH8c2cVdtKKjckoKNaMFnPGLxxRoFaAiO3hWTDuiS1aH3Z2IluO0KM0eg2Uyq5VFe7qRRf-sS31a8wGenAa7MPB0ueDsdxCWtvObjnAgkKKSVA/s320/010302.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
・使用するテーブルを単数形のキャメル型表記で定義します。&lt;br /&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both;&quot;&gt;
　これだけで、テーブルを使用することが可能となります。&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh28inyJ_4Fi2TLj3nMpcx4_VGSDBdMARGH0ZrgtToViaL-kBs3_KemmO3eenL4aPRenGnIRrCjAyGTp3dz56KK5pw-EhqXxaKOZkqTjitmFWy2ro9eI5bjBsc5uNcp-N4L6WLo30LTMmo/s1600/010303.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;58&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh28inyJ_4Fi2TLj3nMpcx4_VGSDBdMARGH0ZrgtToViaL-kBs3_KemmO3eenL4aPRenGnIRrCjAyGTp3dz56KK5pw-EhqXxaKOZkqTjitmFWy2ro9eI5bjBsc5uNcp-N4L6WLo30LTMmo/s320/010303.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_30.html&quot;&gt;次回&lt;/a&gt;はViewです。</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/5877412018090731649/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_29.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5877412018090731649'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5877412018090731649'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_29.html' title='NetBeans IDEとCakePHP プログラム編（２/４）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNaRdcLfthnmWgioJZL1ZYTGdPjk4x0D9E3Dl9yrne6XlkG6KJ747wXwZWwAmMVotzfTZ6fVRclTHtFQSZAkryvoAIs7305Ing_b0-NKzgxaLqzTdq5p1rvmiKJOAmJNzYMAxVf_i0Xvw/s72-c/010301.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-4731193060142450785</id><published>2013-01-28T17:52:00.001+09:00</published><updated>2013-01-31T08:45:40.364+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP プログラム編（１/４）</title><content type='html'>&lt;br /&gt;
環境ができたところで、プログラムを作成してみましょう。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;１．ナビゲータ&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;NetBeans IDEを起動すると左上の「ナビゲータ」ウィンドウにプロジェクトのフォルダー構成が表示されています。各フォルダーの意味については、プログラムを作成する中で説明していきます。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwmq7yrWxczd3G9Y2iVHSb20sSUCoUqUXVz4h9TpJYlWclGtEtNzrG3unp6YJRhRMEzUSotpsbGpgchW-4VK0gJb9yi6llzZqjnhPi30QxrWH183sIBPoyPlEsubiY4pLoBYEmitZMMnA/s1600/010101.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwmq7yrWxczd3G9Y2iVHSb20sSUCoUqUXVz4h9TpJYlWclGtEtNzrG3unp6YJRhRMEzUSotpsbGpgchW-4VK0gJb9yi6llzZqjnhPi30QxrWH183sIBPoyPlEsubiY4pLoBYEmitZMMnA/s1600/010101.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;b&gt;２．データベースの用意&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-1. 本来は、先にデータベースありきですが、環境設定の動作確認のため、新規PHPプロジェクトの設定を先に行っていました。そのため、この段階でデータベースを作成します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　・データベース名：cake_db&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　・テーブル名：order_lists&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
　　・フィールド名：下図参照&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMwofVemJYIMdXc3x-y6XpgaV1y9OYcmaf8dBzl7z-FPgM15L9iWPUZ7OjJdU3NUl4fncE0rxFKJ2QcWgPzpuOQYZxXtnhjMQa__gu1KP0UIxhBK4ZPRlbIV0LdQ25tBRot3WLhkc9BNw/s1600/010201.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;110&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMwofVemJYIMdXc3x-y6XpgaV1y9OYcmaf8dBzl7z-FPgM15L9iWPUZ7OjJdU3NUl4fncE0rxFKJ2QcWgPzpuOQYZxXtnhjMQa__gu1KP0UIxhBK4ZPRlbIV0LdQ25tBRot3WLhkc9BNw/s320/010201.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
※テーブル名はorder_listsと複数形で定義すること。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
詳細は「CakePHPの規約」参照&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
（&lt;a href=&quot;http://book.cakephp.org/2.0/ja/getting-started/cakephp-conventions.html#&quot;&gt;http://book.cakephp.org/2.0/ja/getting-started/cakephp-conventions.html#&lt;/a&gt;）&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
※MySQLの使用方法については「MySQL 4.1 リファレンスマニュアル」参照&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
(&lt;a href=&quot;http://dev.mysql.com/doc/refman/4.1/ja/index.html&quot;&gt;http://dev.mysql.com/doc/refman/4.1/ja/index.html&lt;/a&gt;)&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
2-2. テーブルができたところで、「app」配下の「Config」フォルダーから「database.php」を開いて、データベース情報を修正してください。&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWs2m2CzAvO4cw_CQCZworYvxoQuhPBB7LN5VTH2sdqClnAIwfhxQoSkBIzdElz2FUu_UcSXmeMP3nFKGWtACSdonDivPEzPD-pSPsjwUpvngw2xc2SJ1xAa0mmDp4AN2vPVk2zGl9qBY/s1600/010202.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;127&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiWs2m2CzAvO4cw_CQCZworYvxoQuhPBB7LN5VTH2sdqClnAIwfhxQoSkBIzdElz2FUu_UcSXmeMP3nFKGWtACSdonDivPEzPD-pSPsjwUpvngw2xc2SJ1xAa0mmDp4AN2vPVk2zGl9qBY/s320/010202.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
これで、データベースの設定ができました。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_29.html&quot;&gt;次回&lt;/a&gt;からMVCモデルを利用したプログラム作成に入ります。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/4731193060142450785/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_28.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/4731193060142450785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/4731193060142450785'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_28.html' title='NetBeans IDEとCakePHP プログラム編（１/４）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwmq7yrWxczd3G9Y2iVHSb20sSUCoUqUXVz4h9TpJYlWclGtEtNzrG3unp6YJRhRMEzUSotpsbGpgchW-4VK0gJb9yi6llzZqjnhPi30QxrWH183sIBPoyPlEsubiY4pLoBYEmitZMMnA/s72-c/010101.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-6285813565596262302</id><published>2013-01-17T09:18:00.000+09:00</published><updated>2013-01-31T08:49:44.488+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP 　設定（3/3)</title><content type='html'>&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_16.html&quot;&gt;その２&lt;/a&gt;からの続き&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;５．NetBeans IDEでプロジェクトを作成してみる。&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
（１）「ファイル（F）」から「新規プロジェクト（W）」を選択します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjV6d1ENdgqd7QV8jj97sDmqiyNTlY81zbLzXkVInGJui6DUCwcim0OeZcNNvKi34eezRCEV0jCXY3oG5gycnlRzLiLHUx1B6EUjNAmaHT56k5dXvCLj4u8sW0_shcHzQ2nKjRggjmgI4/s1600/NB05010.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;209&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjV6d1ENdgqd7QV8jj97sDmqiyNTlY81zbLzXkVInGJui6DUCwcim0OeZcNNvKi34eezRCEV0jCXY3oG5gycnlRzLiLHUx1B6EUjNAmaHT56k5dXvCLj4u8sW0_shcHzQ2nKjRggjmgI4/s320/NB05010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
（２）「次＞」をクリックします。（必要があれば、カテゴリとプロジェクトを選択してください）&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS1PlzDAVl0RL8SUJJnnSn20nfK_XKX-8h6wzSaIKnnr0uaDYHsEcGpUcqyEoRMrkKaOn0gAojAh4s1ABFc2gYcC1ZRA1-TQNTcSswAPYiUuD_CDB_-ogyeHU6FfVEiY4F7tIca8gWs-s/s1600/NB05020.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjS1PlzDAVl0RL8SUJJnnSn20nfK_XKX-8h6wzSaIKnnr0uaDYHsEcGpUcqyEoRMrkKaOn0gAojAh4s1ABFc2gYcC1ZRA1-TQNTcSswAPYiUuD_CDB_-ogyeHU6FfVEiY4F7tIca8gWs-s/s320/NB05020.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
（３）「次＞」をクリックします。（名前と場所はデフォルトが表示されます。必要に応じて修正してください。）&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhEp7QPjpIsCDn6sBdnNwzTSI4J4PKGyM4cOHIHesXyRaogR5yATp4C9OP9aqVo68HTQIUKbhhQOMWMgN1Cq2wFXlMkp3w96gNbx3QVjCu_mpHSnWkHqcTvZF_Mgh7yGfvfd1e5TUGb5E/s1600/NB05030.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;219&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhEp7QPjpIsCDn6sBdnNwzTSI4J4PKGyM4cOHIHesXyRaogR5yATp4C9OP9aqVo68HTQIUKbhhQOMWMgN1Cq2wFXlMkp3w96gNbx3QVjCu_mpHSnWkHqcTvZF_Mgh7yGfvfd1e5TUGb5E/s320/NB05030.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;※&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;PHP&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;のバージョンは、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;XAMPP Control Panel&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;の「&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;Admin&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;」をクリックして、&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;XAMPP for Windows&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;の「&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;phpinfo()&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;」&lt;/span&gt;&lt;/span&gt; &lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;から確認できます。&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: Century,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSci_GDKCFILw5DwpJSQexHBxSavOTWgRrk355-kcILYhFSIxCj_DvppXKlKy9Gb7UPaVFEKCtMUFx7ncSfjkgs0ZNT_4rpDweoOqN8m0OnukjB4pZUB34Lx9bvsTNm9z-WMomp3J5nhQ/s1600/NB05031.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;108&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSci_GDKCFILw5DwpJSQexHBxSavOTWgRrk355-kcILYhFSIxCj_DvppXKlKy9Gb7UPaVFEKCtMUFx7ncSfjkgs0ZNT_4rpDweoOqN8m0OnukjB4pZUB34Lx9bvsTNm9z-WMomp3J5nhQ/s320/NB05031.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh34D9dg9A-OhoL1AXTypmghZub6z25AUaB_8MuErXJycoDyIlxvIpKdQC-Ao8Su-cnYvK9PATRQVQOlSeCfPvyNX7WeHYSpSuzDTqkLYxuj9PIDZDxpqfXDWWG0ZPTq4zLvAfyw6SylNI/s1600/NB05032.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh34D9dg9A-OhoL1AXTypmghZub6z25AUaB_8MuErXJycoDyIlxvIpKdQC-Ao8Su-cnYvK9PATRQVQOlSeCfPvyNX7WeHYSpSuzDTqkLYxuj9PIDZDxpqfXDWWG0ZPTq4zLvAfyw6SylNI/s320/NB05032.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;（４）「次＞」をクリックします。（デフォルトで問題がある場合は、適宜修正してください。）&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAB_4SMhpNXNXD5XG13Vjy5tJn_-D9fDpBipM_UZDfRtkTh36tFDyUGF1Brjmj7ObWknbDKxyNGDXmOmGx-j03JlGJoGYMJGUHbzN6xTlrxyKaLofkCdrhqeqxt3INc6CPBhSnbrWTSmY/s1600/NB05040.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAB_4SMhpNXNXD5XG13Vjy5tJn_-D9fDpBipM_UZDfRtkTh36tFDyUGF1Brjmj7ObWknbDKxyNGDXmOmGx-j03JlGJoGYMJGUHbzN6xTlrxyKaLofkCdrhqeqxt3INc6CPBhSnbrWTSmY/s320/NB05040.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: black; font-family: ＭＳ 明朝,sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 10.5604pt;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;（５）PHPフレームワークは、「CakePHP PHP Web Framework」を選択します。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&amp;nbsp;　次にCakePHPのバージョンとデータベースの設定をします。データベースの設定内容は後で簡単に修正できますので、仮称でもかまいません。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;　 設定内容を確認後、「終了（F）」をクリックしてください。&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEzviSPiTujPwlS0Xm5EftX3yRqxSfyuIsMckKgzt9U19OkDRXr1kxQIjbqlBtYecWkYj1WU9ivocgsr_bu5YU1EvUqZAr9ok5hwBf3BLyJoIYTT2yVeKxmR_ITDBCpfzf0DNaxbvQs2g/s1600/NB05050.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;189&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEzviSPiTujPwlS0Xm5EftX3yRqxSfyuIsMckKgzt9U19OkDRXr1kxQIjbqlBtYecWkYj1WU9ivocgsr_bu5YU1EvUqZAr9ok5hwBf3BLyJoIYTT2yVeKxmR_ITDBCpfzf0DNaxbvQs2g/s320/NB05050.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;※CakePHPのバージョンは、「VERSION.txt」を検索して開いてみてください。文末に記載してあります。&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOAd70yGHaDzEpehDFNJt0bxwpXQx7cjPVwjzCqvWMky0LMwqzTVbmOGKT1kLtfXF3jWE6guEfPh2xGO8WKGoeIpvXioo_v3CygglquXYI-Ebq1FZA2MKOCBVGWGxs317y2sec-dvmNNk/s1600/NB05051.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;53&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOAd70yGHaDzEpehDFNJt0bxwpXQx7cjPVwjzCqvWMky0LMwqzTVbmOGKT1kLtfXF3jWE6guEfPh2xGO8WKGoeIpvXioo_v3CygglquXYI-Ebq1FZA2MKOCBVGWGxs317y2sec-dvmNNk/s320/NB05051.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;b&gt;６．NetBeans IDEでプロジェクトを実行してみる。&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;（１）設定が終了すると、画面に設定ファイルが表示されます。&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipOGJGmNafj6nIP7Ckk39H2Wj_Vm_zQE5N4GKNo7GlHowww5nYeiF5PyaCMgkxTgtGBXC4uR6-AgoLqAdH52UENlcuZsh3nqmtXVeJkOKDMlVIPv5Hto_9_B3n8-UUKzHPN2BjISaxdRg/s1600/NB06010.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipOGJGmNafj6nIP7Ckk39H2Wj_Vm_zQE5N4GKNo7GlHowww5nYeiF5PyaCMgkxTgtGBXC4uR6-AgoLqAdH52UENlcuZsh3nqmtXVeJkOKDMlVIPv5Hto_9_B3n8-UUKzHPN2BjISaxdRg/s320/NB06010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;（２）メニューアイコンの下図赤枠をクリックして実行してみましょう。&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtKdpYB_wQC98flyoPkIlSEr7m3t2MzgbiQCa-1WTEICAxWrZv0AUF-_Tnm8G-eg4KndbKIduziT1XCJVXXB7jwi5nI0vQczvJqhYQii6xulrN29j8NW3XjSzHPc4BR3ArZKH6p3bDsas/s1600/NB06020.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;31&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtKdpYB_wQC98flyoPkIlSEr7m3t2MzgbiQCa-1WTEICAxWrZv0AUF-_Tnm8G-eg4KndbKIduziT1XCJVXXB7jwi5nI0vQczvJqhYQii6xulrN29j8NW3XjSzHPc4BR3ArZKH6p3bDsas/s320/NB06020.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;（３）下記のようににゃん子に出会えたら設定は完了です。&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGO-Z4PfD8Azb1PEH8ubNbYscJnBoMC51xFI6s0SKDh2p84O2eDSuO-jo52QkUaA7_SjGj9Zl_z9s8lM4MKMJ1sAD-RqQj5pYBQDVtifuw04ZSRysHLENULGA0Nxc2-lhv7PRr4NYR58/s1600/NB06030.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;128&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgGO-Z4PfD8Azb1PEH8ubNbYscJnBoMC51xFI6s0SKDh2p84O2eDSuO-jo52QkUaA7_SjGj9Zl_z9s8lM4MKMJ1sAD-RqQj5pYBQDVtifuw04ZSRysHLENULGA0Nxc2-lhv7PRr4NYR58/s320/NB06030.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;以上で、使用環境の設定は終わりです。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;お疲れさまでした。&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: ＭＳ 明朝, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/6285813565596262302/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_17.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6285813565596262302'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6285813565596262302'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_17.html' title='NetBeans IDEとCakePHP 　設定（3/3)'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjV6d1ENdgqd7QV8jj97sDmqiyNTlY81zbLzXkVInGJui6DUCwcim0OeZcNNvKi34eezRCEV0jCXY3oG5gycnlRzLiLHUx1B6EUjNAmaHT56k5dXvCLj4u8sW0_shcHzQ2nKjRggjmgI4/s72-c/NB05010.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-7172166781984887986</id><published>2013-01-16T08:37:00.002+09:00</published><updated>2013-01-28T17:39:18.504+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP 　設定（2/3)</title><content type='html'>&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp.html&quot;&gt;その１&lt;/a&gt;からの続き&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;３．NetBeans IDEを起動してみる。&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
（１）デスクトップにNetBeans IDのアイコンが出来上がっているので、ダブルクリックして起動します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmyr0s4O39FrY752X9j7h102fNtbdanKsIyfZemT7jyXPOxG78rd2Nn9V-RV4mLCP4qyh1t94EJMncZXUUEd3w0-ZyU14jYl0llveG7YZ8c-lKOdH3BUqpA6WRHVv3nqnX9IctB6Fd27w/s1600/NB03010.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmyr0s4O39FrY752X9j7h102fNtbdanKsIyfZemT7jyXPOxG78rd2Nn9V-RV4mLCP4qyh1t94EJMncZXUUEd3w0-ZyU14jYl0llveG7YZ8c-lKOdH3BUqpA6WRHVv3nqnX9IctB6Fd27w/s1600/NB03010.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
（２）NetBeans IDの初期画面が表示されます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&amp;nbsp;&amp;nbsp;しっかり学習するには、デモとチュートリアルの「PHPアプリケーション」を読むと良いでしょう。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJStIHM05GqKRuhHUrcXmWk8by4IXGsG_lAeZ7ZxtXqwFYScooaRIGeOF9USTO1IL2I_1yA99bisHZXJDAJJaeRKpfKn_6Q6JOHkasBfW61ZIt2IZDVZP27mgJFXn_qcA1q5D49bcQGho/s1600/NB03020.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJStIHM05GqKRuhHUrcXmWk8by4IXGsG_lAeZ7ZxtXqwFYScooaRIGeOF9USTO1IL2I_1yA99bisHZXJDAJJaeRKpfKn_6Q6JOHkasBfW61ZIt2IZDVZP27mgJFXn_qcA1q5D49bcQGho/s320/NB03020.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（３）ページにより英語表記になりますが、右上の「Choose page language」から「Japanese」を選択すると 日本語表記に変わります。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHgR73iKywtd_oLVVmQJe9-UC6LGkJg7_RhL53qzEELBm0C0ze0huG1Pid-S4D7ni5ZdNKaNLS9m7cN97wJbsLiJ6Q9E2IPO8uwlWq_hg59PsdQXaQfNKGoyVUxTRWOJtQuHpDAFa2g6o/s1600/NB03030.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;139&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHgR73iKywtd_oLVVmQJe9-UC6LGkJg7_RhL53qzEELBm0C0ze0huG1Pid-S4D7ni5ZdNKaNLS9m7cN97wJbsLiJ6Q9E2IPO8uwlWq_hg59PsdQXaQfNKGoyVUxTRWOJtQuHpDAFa2g6o/s320/NB03030.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;４．CakePHPをプラグインする。&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（１）CakePHPをNetBeansで使用するためのプラグインを設定します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; まずは、ここからプラグインファイルをダウンロードしてください。 &amp;nbsp; （&lt;a href=&quot;http://plugins.netbeans.org/plugin/44579/php-cakephp-framework&quot;&gt;http://plugins.netbeans.org/plugin/44579/php-cakephp-framework&lt;/a&gt;）&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAEluEsWRLq8N2JvRqOTSjp_Qef3b7sYFbwn-vf0A_IJotYwHgWZkJz3NiXSTXbjYuUB0Ucf94gGtEbjq1kc18MXuE6vwXpUvHeHI-PqFpQ1j_i0bl30gLW5gY89n9eIeTdJpPAvzg4rY/s1600/NB04010.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAEluEsWRLq8N2JvRqOTSjp_Qef3b7sYFbwn-vf0A_IJotYwHgWZkJz3NiXSTXbjYuUB0Ucf94gGtEbjq1kc18MXuE6vwXpUvHeHI-PqFpQ1j_i0bl30gLW5gY89n9eIeTdJpPAvzg4rY/s320/NB04010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（２）NetBeans IDに戻って、メニューから「ツール（T）」→「プラグイン（G）」を選択します。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqEnPgARlz0ahKYODpCiNxpqK72_bbv2c7w4E2nIp5430ahrlewd8IoLGgf1OWELkwt1esMrrTg7GgeRNQjQ9fYg-WIHmlM2DFvxiT6oCIQgpRUrdLAb3c9qmbZwN3WDuIrCHaImsXarw/s1600/NB04020.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiqEnPgARlz0ahKYODpCiNxpqK72_bbv2c7w4E2nIp5430ahrlewd8IoLGgf1OWELkwt1esMrrTg7GgeRNQjQ9fYg-WIHmlM2DFvxiT6oCIQgpRUrdLAb3c9qmbZwN3WDuIrCHaImsXarw/s1600/NB04020.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（３）CakePHPをNetBeansで使用するためのプラグインを設定します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; ①「ダウンロード済」のタブをクリックします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; ②「プラグインの追加（A）」をクリックして、ダウンロードしたファイルを選択します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; ③「PHP CakePHP Framework」がチェックされていることを確認します。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&amp;nbsp;&amp;nbsp; ④「インストール（I）」をクリックしてください。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKNmXSxS8weOOBoRVHCg9PFUHAONuCcKF6K-Vlhx3xUtV27iEJsMobrYN_Cg8tFqr28ha18iVsfMNaI_873vE3NQ7nkYZSeuWcZLzhyxrFolojxnIbH6lj0NlIOcPun9HIguRwXwg0ceY/s1600/NB04030.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;194&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKNmXSxS8weOOBoRVHCg9PFUHAONuCcKF6K-Vlhx3xUtV27iEJsMobrYN_Cg8tFqr28ha18iVsfMNaI_873vE3NQ7nkYZSeuWcZLzhyxrFolojxnIbH6lj0NlIOcPun9HIguRwXwg0ceY/s320/NB04030.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（４）インストール確認画面が出ますので、「次＞」をクリックします。&amp;nbsp;&lt;span style=&quot;font-family: &#39;ＭＳ 明朝&#39;, sans-serif; font-size: 14px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeH2eMNbpaH19XsLHOJb20fRw9XSfFVCqdVwTuOSA16F3NM4ZPuEBXeKPwOAadJ6tRThXiRyqE4s7SWr9HYpMeIm4uvhyphenhyphenmurvP2rgLbvl_oJAAhAle-vBBr1oftdz4trG5dihCM13i0OU/s1600/NB04040.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;286&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeH2eMNbpaH19XsLHOJb20fRw9XSfFVCqdVwTuOSA16F3NM4ZPuEBXeKPwOAadJ6tRThXiRyqE4s7SWr9HYpMeIm4uvhyphenhyphenmurvP2rgLbvl_oJAAhAle-vBBr1oftdz4trG5dihCM13i0OU/s320/NB04040.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（５）ライセンス契約の確認画面が出ますので、特に支障がなければ「同意する」にチェックを入れて「インス トール（I）」をクリックします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYjKhB29zp8cI4Io1DQxCgsoDCr1fASJeI6ReGd3avzh13yINO2493MpYC5gMA2mUmKTLTCIyp5mYSIW0IRNLjtOjZOLYPFmGc_OilCeUvg6-Iputvm1UC7VOzEDRu-9xcw6hkyjN2Y-o/s1600/NB04050.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;284&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYjKhB29zp8cI4Io1DQxCgsoDCr1fASJeI6ReGd3avzh13yINO2493MpYC5gMA2mUmKTLTCIyp5mYSIW0IRNLjtOjZOLYPFmGc_OilCeUvg6-Iputvm1UC7VOzEDRu-9xcw6hkyjN2Y-o/s320/NB04050.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（６）証明書の確認画面が出た場合、警告内容を理解の上「続行（C）」をクリックします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-9l50mH8dADS02JV7FXOAeDnaFZII6Bdtd_UPedHWD3rurdlZxTOWtw5swuAd0rAfaMA9oFGENF3ommImhsl5SMvZuiFqCEydlIw94ogfK-rBgNgnxz9PJnoYsq6ynMXubkgBGeSf8-o/s1600/NB04060.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;287&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-9l50mH8dADS02JV7FXOAeDnaFZII6Bdtd_UPedHWD3rurdlZxTOWtw5swuAd0rAfaMA9oFGENF3ommImhsl5SMvZuiFqCEydlIw94ogfK-rBgNgnxz9PJnoYsq6ynMXubkgBGeSf8-o/s320/NB04060.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（７）インストールが完了したら、「終了（F）」をクリックします。 プラグイン画面は、「閉じる（C）」をクリックして閉じてください。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheY4hxBDMZu9qFtYdaGXzrhDSK8aMc7WY6luKbGDR9IKXMhl0HVS61SmGhZmcuF8Qdj_U7DICHMk6ZOfuY6OlU7xM9xR3SNowKSLVr0KOqvu4-Ougscg8noBHlmTv8OibG094e3K8LeD0/s1600/NB04070.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;285&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEheY4hxBDMZu9qFtYdaGXzrhDSK8aMc7WY6luKbGDR9IKXMhl0HVS61SmGhZmcuF8Qdj_U7DICHMk6ZOfuY6OlU7xM9xR3SNowKSLVr0KOqvu4-Ougscg8noBHlmTv8OibG094e3K8LeD0/s320/NB04070.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_17.html&quot;&gt;その３&lt;/a&gt;へ&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/7172166781984887986/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_16.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7172166781984887986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7172166781984887986'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp_16.html' title='NetBeans IDEとCakePHP 　設定（2/3)'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmyr0s4O39FrY752X9j7h102fNtbdanKsIyfZemT7jyXPOxG78rd2Nn9V-RV4mLCP4qyh1t94EJMncZXUUEd3w0-ZyU14jYl0llveG7YZ8c-lKOdH3BUqpA6WRHVv3nqnX9IctB6Fd27w/s72-c/NB03010.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-1180395841210291921</id><published>2013-01-15T15:56:00.000+09:00</published><updated>2013-01-28T17:38:53.600+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>NetBeans IDEとCakePHP　設定（1/3)</title><content type='html'>CakePHPのエディタとして、何が良いかいろいろ試してみたが、NetBeans IDEが気にいったの で、ここで紹介をしたいと思います。&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;１．NetBeans IDEのダウンロード&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
（１）NetBeans のダウンロードページを開きます。（&lt;a href=&quot;http://netbeans.org/downloads/&quot;&gt;http://netbeans.org/downloads/&lt;/a&gt;）&lt;br /&gt;
&amp;nbsp;&amp;nbsp; PHPの列にある「ダウンロード」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCrM5ZnDXDPiR3wVfpply7L5KPk8cMiLzEvbTg9j8Ap7KDrRnTnkb4GuDV77Ni2C0DsNrvE4sA7kIe4f7KKVBOwir2RBgH0cTpCyzedRNBNj2Ic5owcR9ggeFMcvokz2aaGqBz0gNL96g/s1600/NB01010.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;231&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCrM5ZnDXDPiR3wVfpply7L5KPk8cMiLzEvbTg9j8Ap7KDrRnTnkb4GuDV77Ni2C0DsNrvE4sA7kIe4f7KKVBOwir2RBgH0cTpCyzedRNBNj2Ic5owcR9ggeFMcvokz2aaGqBz0gNL96g/s320/NB01010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（２）NetBeans IDE 7.2.1 のダウンロードを開始しました画面が表示されダウンロードが開始されます。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR6JbMB32YhIZYFcbzEe5nYCN7nHs9wvXi-_GReD2dOW_JX2cxthTGJUbjC4yTa3X_GWai8amWRjsLR6yX6pZGMZtVegxzrOPelOThN68LBc2-qxf1Gb1XEusfzCJ0f9XgUXYHRsZJ7g4/s1600/NB01020.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;126&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR6JbMB32YhIZYFcbzEe5nYCN7nHs9wvXi-_GReD2dOW_JX2cxthTGJUbjC4yTa3X_GWai8amWRjsLR6yX6pZGMZtVegxzrOPelOThN68LBc2-qxf1Gb1XEusfzCJ0f9XgUXYHRsZJ7g4/s320/NB01020.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;b&gt;２．NetBeans IDEのインストール&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（１）ダウンロード時に指定したフォルダーにある下記ファイルをダブルクリックします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXrHVONSdHGIFqdSKxglxuXXMSQleODT1-_G_gWdxgY6dWrck7xniKzMkyBBtQ6wcVMAPkmN61u6BkF1aorKah0QDsPE-eiCjh8QiFpWv4yf8Sx_pVwAEv9vY1-hwSx0qchFccH8k5OJk/s1600/NB02010.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;19&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXrHVONSdHGIFqdSKxglxuXXMSQleODT1-_G_gWdxgY6dWrck7xniKzMkyBBtQ6wcVMAPkmN61u6BkF1aorKah0QDsPE-eiCjh8QiFpWv4yf8Sx_pVwAEv9vY1-hwSx0qchFccH8k5OJk/s320/NB02010.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp;（２）インストールの開始画面が表示されたら「次（N）＞」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxXcib295qGHklA2Oe9rCVa86auLKveyjJif08m9Ai3BrHfDfm91X1xFOMZ79Tbvs-hylw-oQEO5aygMALyD49O8TJhwGC1PotfLlWeDcZWIJScX8EvyCoidY625YGSqGI81bAB_JiStA/s1600/NB02020.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxXcib295qGHklA2Oe9rCVa86auLKveyjJif08m9Ai3BrHfDfm91X1xFOMZ79Tbvs-hylw-oQEO5aygMALyD49O8TJhwGC1PotfLlWeDcZWIJScX8EvyCoidY625YGSqGI81bAB_JiStA/s320/NB02020.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（３）「ライセンスの契約条件に同意する（A）」にチェックして「次（N）＞」をクリックします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrHNGW5wGBN9ugwz52QGw_92gDfdW1IqRXSm4g40U1SpH3mR5LqXd1V7iyBl68xESUMyOHWE8GMsWLDwguPzKP8QdywY4A4eLeoT-nN8WN47pGzPg-Pu5aCwODU7vsICZAGtvEBqQAgtc/s1600/NB02030.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhrHNGW5wGBN9ugwz52QGw_92gDfdW1IqRXSm4g40U1SpH3mR5LqXd1V7iyBl68xESUMyOHWE8GMsWLDwguPzKP8QdywY4A4eLeoT-nN8WN47pGzPg-Pu5aCwODU7vsICZAGtvEBqQAgtc/s320/NB02030.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;
（４）インストール先を確認して「次（N）＞」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmO78HVcEFRgxLSLKbH_gUd-oP69pBJ21K-qPwqiEJ-ItR1GkRuRjOEAY7lVNx9eY-O8tsaQ9s38f-qJYJYDU-8Z0U3pYE6YGoXFHKQI0oe_BsgqSYekYsqZ-1lj50hpDXVK6DC15Ta_k/s1600/NB02040.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmO78HVcEFRgxLSLKbH_gUd-oP69pBJ21K-qPwqiEJ-ItR1GkRuRjOEAY7lVNx9eY-O8tsaQ9s38f-qJYJYDU-8Z0U3pYE6YGoXFHKQI0oe_BsgqSYekYsqZ-1lj50hpDXVK6DC15Ta_k/s320/NB02040.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（５）インストールの確認画面が表示されます。「インストール（I）」をクリックします。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLjDH3fcAjfm197u2r7-gNFkON8l2P9_dH0ETFxisusuxeku7wboXFEL_NDykkxuWO9PIozTw4yFE6327c-fOTeGCbW_BXhESo_ZpUVPrYOvP411Zr9DP_xry3bp424qsxZ9CeD-t6S8c/s1600/NB02050.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLjDH3fcAjfm197u2r7-gNFkON8l2P9_dH0ETFxisusuxeku7wboXFEL_NDykkxuWO9PIozTw4yFE6327c-fOTeGCbW_BXhESo_ZpUVPrYOvP411Zr9DP_xry3bp424qsxZ9CeD-t6S8c/s320/NB02050.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（６）インストール実行中の画面です。完了するまでじっと待ちましょう。私のPCで５分くらいかかりました。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNaS9Sn27ZVXglExQkefNAAw4JxTvO0LO-KxHqnWWWFusEoK9BBXjwUQ4GE1Zu-LBD4YeE9HpybReQqTkP8XuUtDU9JYVC26U03IVE-e9hXaCMwYzgWotZ1qjwQ1TXNyqWCnHaVXUoMX0/s1600/NB02060.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;241&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNaS9Sn27ZVXglExQkefNAAw4JxTvO0LO-KxHqnWWWFusEoK9BBXjwUQ4GE1Zu-LBD4YeE9HpybReQqTkP8XuUtDU9JYVC26U03IVE-e9hXaCMwYzgWotZ1qjwQ1TXNyqWCnHaVXUoMX0/s320/NB02060.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
（７）インストールが無事完了しました。「匿名の・・・」は、任意ですので特に参加する意思がなければチェ ックをはずしても問題ありません。「終了（F）」をクリックしてください。 以上で、NetBeans IDEのインストールが完了しました。&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhepXfybJTdLzRIB57nv8qyoFAbffkF58rujIBlHREsiS_fk44gPYUWgiZxvAG-Q_HSTmb3ExTorPSDMs7jUR0r9ZMqHCY7DH79hd9GnztdeUsWuGYa86Ab-tI84xDz9OTQVcyyjV0yE6Y/s1600/NB02070.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline !important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;240&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhepXfybJTdLzRIB57nv8qyoFAbffkF58rujIBlHREsiS_fk44gPYUWgiZxvAG-Q_HSTmb3ExTorPSDMs7jUR0r9ZMqHCY7DH79hd9GnztdeUsWuGYa86Ab-tI84xDz9OTQVcyyjV0yE6Y/s320/NB02070.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/netbeans-idecakephp_16.html&quot;&gt;その２&lt;/a&gt;へ&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/1180395841210291921/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1180395841210291921'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1180395841210291921'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/netbeans-idecakephp.html' title='NetBeans IDEとCakePHP　設定（1/3)'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCrM5ZnDXDPiR3wVfpply7L5KPk8cMiLzEvbTg9j8Ap7KDrRnTnkb4GuDV77Ni2C0DsNrvE4sA7kIe4f7KKVBOwir2RBgH0cTpCyzedRNBNj2Ic5owcR9ggeFMcvokz2aaGqBz0gNL96g/s72-c/NB01010.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-578996183994978003</id><published>2013-01-10T09:34:00.000+09:00</published><updated>2013-02-04T08:19:35.989+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Syntax Highlighter Scripts Generator"/><title type='text'>ブログにソースコードを掲載する方法 （２/２）</title><content type='html'>前回からの続きで、実際にブログに張り付ける方法です。&lt;br /&gt;
&lt;br /&gt;
１．貼り付けるソースを”＜ pre class=&quot;brush: &lt;u&gt;言語&lt;/u&gt;; &quot; ＞”と”＜&amp;nbsp;/pre ＞”で挟みます。&lt;br /&gt;
　　&lt;u&gt;言語&lt;/u&gt;は、ｃとかjavaとかまさにソース言語です。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: yellow;&quot;&gt;＜pre
class=&quot;brush: c; &quot;＞&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
void main()
{&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(&quot;Hello
world!\n&quot;);&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot; style=&quot;background-color: yellow;&quot;&gt;＜/pre＞&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span lang=&quot;EN-US&quot;&gt;　ソース上に&lt;/span&gt;”＜”、”＞”、”＆”を含んで入る場合は、”＜script
class=&quot;brush: &lt;u&gt;言語&lt;/u&gt;&quot; 　　type=&quot;syntaxhighlighter&quot;＞＜![CDATA[”と”]]＞＜/script＞”で挟みます。&lt;/div&gt;
&lt;u&gt;言語&lt;/u&gt;は、phpとかhtmlのようになると思います。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;&lt;span lang=&quot;EN-US&quot;&gt;＜script
class=&quot;brush: php&quot; type=&quot;syntaxhighlighter&quot;＞＜&lt;/span&gt;![CDATA[&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;＜h1＞Sample　Source＜/h1＞&lt;br /&gt;
　　　　＜?php echo &quot;HELLO PHP!&quot;;
?＞&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;span style=&quot;background-color: yellow;&quot;&gt;]]＞＜/script＞&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
【注意】上の例では”＜＞”を全角にしてあります。コピーして使用する場合は、注意してください。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
２．上記の手順で事前に貼り付けるソースを用意しておきます。（任意ですが）&lt;br /&gt;
３．記事の中に【ここに張り付け】といった目印を書いておきます。&lt;br /&gt;
&lt;br /&gt;
４．編集モードを”作成”から”HTML”に変更します。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFw0IkfzANzNpKRvOau0IxxHzd4tpSt0TtzLjTxG0epIPRFDmxa9z22gJmbM631zu8FC43SPf8SFrcn1py4XGGaKoIRXzwZfYIvtFDtTMvIbnXCPxKQMX5iZ4ZuY04nNen0zpjMTLBVJo/s1600/blogger_EDIT_HTML.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;78&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFw0IkfzANzNpKRvOau0IxxHzd4tpSt0TtzLjTxG0epIPRFDmxa9z22gJmbM631zu8FC43SPf8SFrcn1py4XGGaKoIRXzwZfYIvtFDtTMvIbnXCPxKQMX5iZ4ZuY04nNen0zpjMTLBVJo/s320/blogger_EDIT_HTML.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
５．HTML表示の【ここに張り付け】に掲載したいソースをコピーします。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPvvAcZHGGHc0jjdNkTsR-GQ4RXzOEnOcdrmO0NwwGeCsOrgXrZjnLgPIL4PyHnHw5aFY-nFh3kBx0DFxm16N19GrjnLVxwnD93d3oqzutWWUWuhOLdE89ccfXDMoLkNGm_laQFzovLyQ/s1600/blogger_HTML.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;164&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPvvAcZHGGHc0jjdNkTsR-GQ4RXzOEnOcdrmO0NwwGeCsOrgXrZjnLgPIL4PyHnHw5aFY-nFh3kBx0DFxm16N19GrjnLVxwnD93d3oqzutWWUWuhOLdE89ccfXDMoLkNGm_laQFzovLyQ/s320/blogger_HTML.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
６．プレビュー等で結果を確認してください。うまくいったでしょうか？&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　見栄えを良くするオプションもいろいろあるので、試してみてください。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　（オプションの参考：「&lt;a href=&quot;http://controlkey.blog.fc2.com/blog-entry-17.html&quot; target=&quot;_blank&quot;&gt;SyntaxHighlighterの使い方編&lt;/a&gt;」）&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush: c; &quot;&gt;void main() {
 printf(&quot;Hello world!\n&quot;);
}
&lt;/pre&gt;
&lt;script class=&quot;brush: php&quot; type=&quot;syntaxhighlighter&quot;&gt;&lt;![CDATA[
 &lt;h1&gt;
Sample Source&lt;/h1&gt;
&lt;?php echo &quot;HELLO PHP!&quot;; ?&gt;
]]&gt;&lt;/script&gt;

&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/578996183994978003/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/578996183994978003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/578996183994978003'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2013/01/blog-post.html' title='ブログにソースコードを掲載する方法 （２/２）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFw0IkfzANzNpKRvOau0IxxHzd4tpSt0TtzLjTxG0epIPRFDmxa9z22gJmbM631zu8FC43SPf8SFrcn1py4XGGaKoIRXzwZfYIvtFDtTMvIbnXCPxKQMX5iZ4ZuY04nNen0zpjMTLBVJo/s72-c/blogger_EDIT_HTML.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-2774481837008601250</id><published>2012-12-28T10:42:00.001+09:00</published><updated>2013-01-31T08:46:07.184+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Syntax Highlighter Scripts Generator"/><title type='text'>ブログにソースコードを掲載する方法（１/２）</title><content type='html'>Bloggerにサンプルソースを載せる方法について調べてみた。&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;手順として&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;１．&lt;a href=&quot;http://www.way2blogging.org/widget-generators/syntax-highlighter-scripts-generator&quot;&gt;Syntax Highlighter Scripts Generator&lt;/a&gt;からスクリプトを生成する。&lt;br /&gt;
　　　「Select Brushes」は、複数指定が可能です。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4FIb4I79pOGZReIJgpNb0U-zhbZWdHYkUuBTS0mejYiSQdmoapiWOUFoJVJ17X8mz0HxBA3BXFRUL8IBct6TlVu3Xhnty28BZpAQCUhPSImePHoNkjl2G0A4kLYE6U3uqezjCBjvNkX8/s1600/Syntax_Highlighter_Scripts_Generator.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4FIb4I79pOGZReIJgpNb0U-zhbZWdHYkUuBTS0mejYiSQdmoapiWOUFoJVJ17X8mz0HxBA3BXFRUL8IBct6TlVu3Xhnty28BZpAQCUhPSImePHoNkjl2G0A4kLYE6U3uqezjCBjvNkX8/s320/Syntax_Highlighter_Scripts_Generator.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
２．できあがったスクリプトを画面上で右クリックしてコピーをします。&lt;br /&gt;
　　「Copy To ClipBoard」をクリックしてもコピーされなかった。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinN6sxpAujAyDtM2gHMkT98ZaiYGVvcK7r3yTk9ieG0XTxvMjuzgfWiY5ikFbNF0IQhr8FkdQjRMEiOh47QGZJveaf18UgOkkToSEPMvZChDfbBKXBM5xcfO2EZpYLsmr54v-dCxtlAVA/s1600/Syntax_Highlighter_Scripts_Result.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;189&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinN6sxpAujAyDtM2gHMkT98ZaiYGVvcK7r3yTk9ieG0XTxvMjuzgfWiY5ikFbNF0IQhr8FkdQjRMEiOh47QGZJveaf18UgOkkToSEPMvZChDfbBKXBM5xcfO2EZpYLsmr54v-dCxtlAVA/s320/Syntax_Highlighter_Scripts_Result.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
３．Bloggerダッシュボードから「レイアウト」→「ガジェットを追加」をクリックします。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuMtysW5oXOA-_ko2wYdo3uP9thXkd6hromGagH84aDAloLprVLH5qAIeM5rvOE3BDnkDh4dVQakA0tAqBT_Ubs-v8JMb_-KZL6Lqt5iEJnDlz5PnE-jMATLOEt97SGhAjOwL5xnbS8g/s1600/blogger_rayout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;39&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUuMtysW5oXOA-_ko2wYdo3uP9thXkd6hromGagH84aDAloLprVLH5qAIeM5rvOE3BDnkDh4dVQakA0tAqBT_Ubs-v8JMb_-KZL6Lqt5iEJnDlz5PnE-jMATLOEt97SGhAjOwL5xnbS8g/s320/blogger_rayout.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
４．追加するガジェットの一覧画面からHTML/JavaScriptをクリックします。&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguyYngloLCSfB4HUheFNTVrYM8GbmIT3hH7IYk4A8Lvd5Lh30oCnavh_m5A7yBMKeT3NApGF8WEu6_qYzXEhuwUGWlgIUkAQP4fgZK5DcjAGA9e812WgawB8zkGLvp35Cq28PBqLrV1Bg/s1600/blogger_gadget.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;85&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguyYngloLCSfB4HUheFNTVrYM8GbmIT3hH7IYk4A8Lvd5Lh30oCnavh_m5A7yBMKeT3NApGF8WEu6_qYzXEhuwUGWlgIUkAQP4fgZK5DcjAGA9e812WgawB8zkGLvp35Cq28PBqLrV1Bg/s320/blogger_gadget.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
５．タイトルに適当な名前をつけて、コンテンツに２．でコピーした内容を貼り付けます。&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
　　最後に保存をクリックして完了です。&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZzBdE9p670tKAsyj1_1m9kwFN_fW5MEp83p05PRmuJT5h0bgUSoHQhr52_djj2nXoDIMBUQJ4hNmOapzbuhUrOL_VAtq0jmdz7pKauGN2QovgqL_0HPvC-k9F4rDB18fJCdAUbLbfT0/s1600/blogger_gadget_set.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcZzBdE9p670tKAsyj1_1m9kwFN_fW5MEp83p05PRmuJT5h0bgUSoHQhr52_djj2nXoDIMBUQJ4hNmOapzbuhUrOL_VAtq0jmdz7pKauGN2QovgqL_0HPvC-k9F4rDB18fJCdAUbLbfT0/s320/blogger_gadget_set.png&quot; width=&quot;304&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
６．では、試してみましょう。&lt;br /&gt;
&lt;br /&gt;
&lt;script class=&quot;brush: php&quot; type=&quot;syntaxhighlighter&quot;&gt;
&lt;![CDATA[
&lt;body&gt;

        &lt;h1&gt;
Hello PHP!&lt;/h1&gt;
&lt;div&gt;

            &lt;?php echo &quot;HELLO PHP!&quot;; ?&gt;

        &lt;/div&gt;
&lt;/body&gt;

]]&gt;
&lt;/script&gt;できた！&lt;br /&gt;
実際に張り付けるまでの手順の詳細については&lt;a href=&quot;http://aicell-ai33.blogspot.jp/2013/01/blog-post.html&quot;&gt;次回&lt;/a&gt;報告します。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/2774481837008601250/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/12/blog-post_28.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2774481837008601250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2774481837008601250'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/12/blog-post_28.html' title='ブログにソースコードを掲載する方法（１/２）'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi4FIb4I79pOGZReIJgpNb0U-zhbZWdHYkUuBTS0mejYiSQdmoapiWOUFoJVJ17X8mz0HxBA3BXFRUL8IBct6TlVu3Xhnty28BZpAQCUhPSImePHoNkjl2G0A4kLYE6U3uqezjCBjvNkX8/s72-c/Syntax_Highlighter_Scripts_Generator.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-1353471144174616650</id><published>2012-12-12T15:47:00.000+09:00</published><updated>2012-12-12T15:53:47.298+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>スクレイピング</title><content type='html'>最近、ＷＥＢのまとめ記事が多いので、どのように収集しているのか、調べてみた。&lt;br /&gt;
その中で、「スクレイピング」というキーワードがあったので、ちょっと深入りしてみた。&lt;br /&gt;
&lt;br /&gt;
参考にしたのは「&lt;a href=&quot;http://www.usamimi.info/~ryouchi/scraping/&quot; target=&quot;_blank&quot;&gt;phpによるスクレイピング処理入門&lt;/a&gt;」&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
そもそも、スクレイピングとは、WebサイトからWebページのHTMLデータを収集して、特定のデータを抽出、整形し直すことだそうです。&lt;br /&gt;
&lt;br /&gt;
この技術を使えば、車の画像だけを集めるとか、いろいろ応用ができそうです。&lt;br /&gt;
&lt;br /&gt;
この入門で苦労した点を整理しておきます。&lt;br /&gt;
&lt;br /&gt;
１．PHP: Tidy 関数の設定&lt;br /&gt;
　phpinfo();で見たときに存在しなかったため、設定の必要がありました。&lt;br /&gt;
&lt;br /&gt;
　C:\xampp\phpにあるPHP.INIから「;extension=php_tidy.dll」を探して「extension=php_tidy.dll」&lt;br /&gt;
　と修正して保存します。（先頭の「；」をとるだけ）&lt;br /&gt;
　次にＸＡＭＰＰのＡｐａｃｈｅを再起動（下図の赤枠「STOP」をクリック後「START」をクリック）します。&lt;br /&gt;
　 &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidd8Dkpc0o9jvQePx8X6cJr2rJ-15vS7bSeHUVpU2M52p54WOZwoAShyphenhyphenjiAyIl9GtI4Gy_PqcoW7P1z3b2nNtCXEEJ5vFGNqcD3T5yJSDkjFnhpmb1mmP8TiTkpLh7GC2wuQT3dyonX-8/s1600/XAMPP.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;272&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidd8Dkpc0o9jvQePx8X6cJr2rJ-15vS7bSeHUVpU2M52p54WOZwoAShyphenhyphenjiAyIl9GtI4Gy_PqcoW7P1z3b2nNtCXEEJ5vFGNqcD3T5yJSDkjFnhpmb1mmP8TiTkpLh7GC2wuQT3dyonX-8/s320/XAMPP.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
　この後、phpinfo();で見ると出来上がっています。&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLY9iBZP6Dt3tDx22UsIjxKokiumGB5Tq24PrFCHeRoU0gpxpjNDGx3HqJ4O0T_sWRNEYtswSLu3LSS0uN2EouVRND1JXjGjUswg-9AywujCWJHKT7kkxpM49pLEmmONPx8wcWQ7C8F7w/s1600/Tidy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;103&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLY9iBZP6Dt3tDx22UsIjxKokiumGB5Tq24PrFCHeRoU0gpxpjNDGx3HqJ4O0T_sWRNEYtswSLu3LSS0uN2EouVRND1JXjGjUswg-9AywujCWJHKT7kkxpM49pLEmmONPx8wcWQ7C8F7w/s320/Tidy.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
２．サンプルソースの不具合&lt;br /&gt;
　「4. Webサイトの情報取得方法」に記載のソースを一部修正&lt;br /&gt;
　07.＜title＞phpによるスクレイピング処理入門：はてなブックマークの情報を取得 &lt;br /&gt;
→＜/title＞を追加&lt;br /&gt;
　07.＜title＞phpによるスクレイピング処理入門：はてなブックマークの情報を取得&amp;nbsp;＜/title＞&lt;title&gt;phpによるスクレイピング処理入門：はてなブックマークの情報を取得  &lt;/title&gt;&lt;br /&gt;
注”＜”は、わざと全角にしてあります。&lt;br /&gt;
&lt;br /&gt;
　11.define(INIT_URL , &quot;http://b.hatena.ne.jp/&quot;); &lt;br /&gt;
→INIT_URLをダブルコーテーションではさむ&lt;br /&gt;
　11.define(&quot;INIT_URL&quot; , &quot;http://b.hatena.ne.jp/&quot;); &lt;br /&gt;
&lt;br /&gt;
以上です。&lt;br /&gt;
ちなみにPHPのバージョンは5.3.1です。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/1353471144174616650/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/12/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1353471144174616650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/1353471144174616650'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/12/blog-post.html' title='スクレイピング'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidd8Dkpc0o9jvQePx8X6cJr2rJ-15vS7bSeHUVpU2M52p54WOZwoAShyphenhyphenjiAyIl9GtI4Gy_PqcoW7P1z3b2nNtCXEEJ5vFGNqcD3T5yJSDkjFnhpmb1mmP8TiTkpLh7GC2wuQT3dyonX-8/s72-c/XAMPP.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-6271783588641222111</id><published>2012-11-30T13:48:00.001+09:00</published><updated>2012-11-30T13:48:29.144+09:00</updated><title type='text'>突然　クイズ　です。</title><content type='html'>Q：まったく同じ名前のファイルがデスクトップ上にあります。&lt;br /&gt;
　　どうしてこのようなことができたのでしょう？&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgREuBrqZw4cq7N6yTXeJgLgqkeakm4ReJ3BAALlXLdSxrHsOfKsQE59FU12rCGNzrgYIIm4qYpVoZvcU1yMAg2VADVQt2xK_S8GKYx-xNZezMU7tXD3cyW8r5nPkdwmGy9gBsIN3cGjWI/s1600/%E7%84%A1%E9%A1%8C.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgREuBrqZw4cq7N6yTXeJgLgqkeakm4ReJ3BAALlXLdSxrHsOfKsQE59FU12rCGNzrgYIIm4qYpVoZvcU1yMAg2VADVQt2xK_S8GKYx-xNZezMU7tXD3cyW8r5nPkdwmGy9gBsIN3cGjWI/s320/%E7%84%A1%E9%A1%8C.png&quot; width=&quot;252&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A：ユーザーのデスクトップとパブリックのデスクトップにファイルが存在しているからです。&lt;br /&gt;
　　初め見たときには、ドキリとしましたが、理由が分かればなるほどですね。&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/6271783588641222111/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/blog-post.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6271783588641222111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/6271783588641222111'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/blog-post.html' title='突然　クイズ　です。'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgREuBrqZw4cq7N6yTXeJgLgqkeakm4ReJ3BAALlXLdSxrHsOfKsQE59FU12rCGNzrgYIIm4qYpVoZvcU1yMAg2VADVQt2xK_S8GKYx-xNZezMU7tXD3cyW8r5nPkdwmGy9gBsIN3cGjWI/s72-c/%E7%84%A1%E9%A1%8C.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-8797933186433107698</id><published>2012-11-16T15:29:00.002+09:00</published><updated>2012-11-16T15:29:21.781+09:00</updated><title type='text'>Googleドライブ　インストール時の日本語化について</title><content type='html'>&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22px;&quot;&gt;Google ドライブという５Gまで無料で利用できるオンラインストレージサービスがあるとのことで、&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22px;&quot;&gt;早速インストールをしてみた。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22px;&quot;&gt;インストールガイドは検索すればいろいろ出てくるので、お好きなもので良いと思う。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-size: 16px; line-height: 22px;&quot;&gt;ちなみに私は&lt;/span&gt;&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;a href=&quot;http://nanapi.jp/web/google-drive&quot;&gt;「Googleドライブ(Google Drive)」の使い方 - nanapi Web&lt;/a&gt;を参考にしました。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;このときに、不安だったのが説明用画面が日本語なのに、自分の画面が英文であったこと。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;いったん、作業を中断して日本語化から始めた。&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;line-height: 22px;&quot;&gt;そのときの設定方法を画像で貼っておきます。（すでに日本語化したあとですが）&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY6sWRWG1xBx_-W9P9hWuLRIkm4Ynj5JKbNJ5Lj_MvK35KGA7EPKLsB1cCiqyReeVctTmmB_ypo2l9iGozBwMq6Yo9JGjXytQSuwPNj1vOACyMWyks-xhH0BQAGcLRyUDid89TpFD3Trc/s1600/google%E6%97%A5%E6%9C%AC%E8%AA%9E%E8%A8%AD%E5%AE%9A.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;97&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY6sWRWG1xBx_-W9P9hWuLRIkm4Ynj5JKbNJ5Lj_MvK35KGA7EPKLsB1cCiqyReeVctTmmB_ypo2l9iGozBwMq6Yo9JGjXytQSuwPNj1vOACyMWyks-xhH0BQAGcLRyUDid89TpFD3Trc/s320/google%E6%97%A5%E6%9C%AC%E8%AA%9E%E8%A8%AD%E5%AE%9A.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/8797933186433107698/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/google.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8797933186433107698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8797933186433107698'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/google.html' title='Googleドライブ　インストール時の日本語化について'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY6sWRWG1xBx_-W9P9hWuLRIkm4Ynj5JKbNJ5Lj_MvK35KGA7EPKLsB1cCiqyReeVctTmmB_ypo2l9iGozBwMq6Yo9JGjXytQSuwPNj1vOACyMWyks-xhH0BQAGcLRyUDid89TpFD3Trc/s72-c/google%E6%97%A5%E6%9C%AC%E8%AA%9E%E8%A8%AD%E5%AE%9A.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-7266669565346304444</id><published>2012-11-15T08:24:00.003+09:00</published><updated>2012-11-15T08:24:26.034+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHPからのPDF出力　日本語対応</title><content type='html'>PHPからPDF出力を行うと文字化けしてしまう。&lt;br /&gt;
&lt;br /&gt;
解決策としてまずは&lt;a href=&quot;http://sourceforge.jp/projects/sfnet_planningabsence/downloads/main/include/PHPExcel/Shared/PDF/fonts/arialunicid0-japanese.php/&quot;&gt;arialunicid0-japanese.php&lt;/a&gt;をダウンロードします。&lt;br /&gt;
このリンクに行くと勝手にダウンロードが始まりますのでご注意ください。&lt;br /&gt;
&lt;br /&gt;
今回はｔｃPDFを使用するため、ダウンロードしたファイルをC:\xampp\htdocs\tcpdf\fontsにコピーします。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
これで、日本語のPDFができるはずです。&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
ちなみにmPDFとdomPDFは、この方法でもだめでした。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/7266669565346304444/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/phppdf.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7266669565346304444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7266669565346304444'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/phppdf.html' title='PHPからのPDF出力　日本語対応'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-698365496459608810</id><published>2012-11-14T15:58:00.002+09:00</published><updated>2012-11-15T08:25:38.696+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>PHPEXCELでPDF出力に挑戦</title><content type='html'>帳票設計をエクセルで行って、そのまま書式オーバーレイのように使えないかと思い挑戦してみた。&lt;br /&gt;
まずは、&lt;a href=&quot;http://phpexcel.codeplex.com/&quot; target=&quot;_blank&quot;&gt;PHPExcel 1.7.8&lt;/a&gt;をダウンロード。適当な場所で展開後、C:\xampp\htdocs\配下にフォルダー毎配置。&lt;br /&gt;
次にPDF出力は、C:\xampp\htdocs\PHPExcel\Testsにあるサンプルソース21pdf.phpにあった３種類（&lt;a href=&quot;http://sourceforge.net/projects/tcpdf/files/&quot;&gt;tcPDF5.9&lt;/a&gt;、&lt;a href=&quot;http://www.mpdf1.com/mpdf/download&quot;&gt;mPDF5.4&lt;/a&gt;、&lt;a href=&quot;http://code.google.com/p/dompdf/&quot;&gt;domPDF0.6.0beta3&lt;/a&gt;）をダウンロード。PHPExcelと同じように展開後、C:\xampp\htdocs\配下にフォルダー毎配置。&lt;br /&gt;
&lt;br /&gt;
これで、環境は完了。&lt;br /&gt;
21pdf.phpを参考にしながら、以下の２か所を修正&lt;br /&gt;
あと、私はソースをC:\xampp\htdocs\sampleにおいているためパスを変更した&lt;br /&gt;
set_include_path(get_include_path() . PATH_SEPARATOR . &#39;../PHPEXCEL/Classes/&#39;); &lt;br /&gt;
$rendererLibraryPath = &#39;../&#39; . $rendererLibrary;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
※使用するPDF変換ツールの設定&lt;br /&gt;
//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Change these values to select the Rendering library that you wish to use&lt;br /&gt;
//&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;and its directory location on your server&lt;br /&gt;
//$rendererName = PHPExcel_Settings::PDF_RENDERER_MPDF;&lt;br /&gt;
//$rendererLibrary = &#39;MPDF54&#39;;&lt;br /&gt;
$rendererName = PHPExcel_Settings::PDF_RENDERER_TCPDF;&lt;br /&gt;
$rendererLibrary = &#39;tcpdf&#39;;&lt;br /&gt;
//$rendererName = PHPExcel_Settings::PDF_RENDERER_DOMPDF;&lt;br /&gt;
//$rendererLibrary = &#39;dompdf&#39;;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
※PDF出力時に日本語フォントを設定&lt;br /&gt;
&lt;br /&gt;
$objWriter = PHPExcel_IOFactory::createWriter($objPHPExcel, &#39;PDF&#39;);&lt;br /&gt;
$objWriter-&amp;gt;setSheetIndex(0);&lt;br /&gt;
$objWriter-&amp;gt;setFont(&#39;arialunicid0-japanese&#39;);&lt;br /&gt;
$objWriter-&amp;gt;save(str_replace(&#39;.php&#39;, &#39;_&#39;.$rendererName.&#39;.pdf&#39;, __FILE__));&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
なんとか、入力したエクセルに値をセットしPDFとして出力することはできたが&lt;br /&gt;
レイアウトはぼろぼろだった（悲しい）&lt;br /&gt;
次の課題としたい。&lt;br /&gt;
&lt;br /&gt;
また、”arialunicid0-japanese”で苦しむ人がいるかも知れないので、&lt;br /&gt;
こちらの設定方法は2012/11/15投稿分に記載しています。</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/698365496459608810/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/phpexcelpdf.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/698365496459608810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/698365496459608810'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/11/phpexcelpdf.html' title='PHPEXCELでPDF出力に挑戦'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-3604328224915758706</id><published>2012-08-31T12:20:00.004+09:00</published><updated>2012-08-31T12:20:56.414+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="FTP"/><category scheme="http://www.blogger.com/atom/ns#" term="VB"/><title type='text'>VBでFTPを使ってみる</title><content type='html'>急きょ、Webからアップロードされた添付ファイルをVBで選択しダウンロードする&lt;br /&gt;
プログラムを作ることに。&lt;br /&gt;
&lt;br /&gt;
VBでFTPを使用するサンプルはネット上にたくさんあるので&lt;br /&gt;
それを参考にしたが、タイムアウトで動かない(悩）。&lt;br /&gt;
&lt;br /&gt;
いろいろ調べていったら、サービスプロバイダーのQAに回答があった。&lt;br /&gt;
Windows ファイアウォールの関係で、FTPサーバー接続時にパッシブモードを&lt;br /&gt;
指定しないといけないらしい。&lt;br /&gt;
&lt;br /&gt;
そこで、パラメーターにパッシブモードを追加したら、無事動きました。&lt;br /&gt;
&lt;br /&gt;
下記ソースの太字の部分&lt;br /&gt;
&lt;br /&gt;
hConnection = InternetConnect(hOpen, cstrServer, INTERNET_INVALID_PORT_NUMBER, _&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; cstrUserName, cstrPassword, INTERNET_SERVICE_FTP,&lt;b&gt; INTERNET_FLAG_PASSIVE&lt;/b&gt;, 0)&lt;br /&gt;
</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/3604328224915758706/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/vbftp.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/3604328224915758706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/3604328224915758706'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/vbftp.html' title='VBでFTPを使ってみる'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-7147977141031664135</id><published>2012-08-30T17:08:00.000+09:00</published><updated>2012-08-30T17:08:00.182+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AKB48"/><title type='text'>CRぱちんこAKB48</title><content type='html'>話題の機種が稼働したとのことで様子を見に行ってきた。&lt;br /&gt;
&lt;br /&gt;
AKBに詳しくなくても楽しめそうな台である。&lt;br /&gt;
&lt;br /&gt;
ある時間帯に全台一斉におなじ演出となる&lt;br /&gt;
「サプライズ 重力シンパシー公演 ホール」&lt;br /&gt;
はすごかった。&lt;br /&gt;
&lt;br /&gt;
新しい試みではあるけれど、今後流行るのでしょうか。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_q5nNTYaR5n69ZNoJSwKKerSYklttdDKG6xGlUAOXWrN4hffOvM7ZpfcJAUOqm1l01yNUNvjZRK6ps9ffm3ALWT3JNRGar64NeyvpL5klhCkxVYE_tFL9qW-iDwBdKYfPe3GGgbZQkIA/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_q5nNTYaR5n69ZNoJSwKKerSYklttdDKG6xGlUAOXWrN4hffOvM7ZpfcJAUOqm1l01yNUNvjZRK6ps9ffm3ALWT3JNRGar64NeyvpL5klhCkxVYE_tFL9qW-iDwBdKYfPe3GGgbZQkIA/s1600/images.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/7147977141031664135/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/crakb48.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7147977141031664135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/7147977141031664135'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/crakb48.html' title='CRぱちんこAKB48'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_q5nNTYaR5n69ZNoJSwKKerSYklttdDKG6xGlUAOXWrN4hffOvM7ZpfcJAUOqm1l01yNUNvjZRK6ps9ffm3ALWT3JNRGar64NeyvpL5klhCkxVYE_tFL9qW-iDwBdKYfPe3GGgbZQkIA/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-8691530102466031301</id><published>2012-08-28T08:44:00.000+09:00</published><updated>2012-08-28T08:44:09.707+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft"/><title type='text'>Microsoftがロゴを25年ぶりに変更</title><content type='html'>ここのところ、不振が伝えられているMicrosoftがロゴを25年ぶりに変更したそうだ。&lt;br /&gt;
&lt;br /&gt;
あまり変わり映えはしていないように思うがどうだろうか？&lt;br /&gt;
&lt;br /&gt;
どうせ、変えるのならアッと驚くようなインパクトのあるものにした方が&lt;br /&gt;
話題性からも良いと思う。お堅い企業になってしまったのかな。&lt;br /&gt;
&lt;br /&gt;
「ｆ」と「ｔ」の横棒がつながっているのは、現行踏襲だそうです。&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Mt8Y2WedvdaC4C1-5Y-FMzUe-QrRCYmKRt2WF5qMsHrER3LvJQ-gkZ3YziaSKzf3z-4fkL2XSfj42CKA7Q7VsYHmiWP706Crf6Goe_NZHnbO-CAxHYK9T4AS-V0KeEfM2oRBBPVjDWg/s1600/microsoft-new-logo-2012.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;83&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Mt8Y2WedvdaC4C1-5Y-FMzUe-QrRCYmKRt2WF5qMsHrER3LvJQ-gkZ3YziaSKzf3z-4fkL2XSfj42CKA7Q7VsYHmiWP706Crf6Goe_NZHnbO-CAxHYK9T4AS-V0KeEfM2oRBBPVjDWg/s320/microsoft-new-logo-2012.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/8691530102466031301/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/microsoft25.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8691530102466031301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/8691530102466031301'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/microsoft25.html' title='Microsoftがロゴを25年ぶりに変更'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Mt8Y2WedvdaC4C1-5Y-FMzUe-QrRCYmKRt2WF5qMsHrER3LvJQ-gkZ3YziaSKzf3z-4fkL2XSfj42CKA7Q7VsYHmiWP706Crf6Goe_NZHnbO-CAxHYK9T4AS-V0KeEfM2oRBBPVjDWg/s72-c/microsoft-new-logo-2012.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-5253159817370698783</id><published>2012-08-13T17:07:00.001+09:00</published><updated>2012-08-13T17:07:10.698+09:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Edy"/><title type='text'>Edyカードでのお支払い</title><content type='html'>Edyが楽天Edyに変わって、ネットでのお買い物代金がEdyで決済できるお店も増えてきた。&lt;br /&gt;
ずっと、クレジットカードの使用には不安があり、代引きとかコンビニ振り込みとかを利用していた。&lt;br /&gt;
&lt;br /&gt;
ふと、我が家に昔VAIOを買ったときに付いてきたFelicaのカードリーダーがあることを思い出し&lt;br /&gt;
つないでみた。&lt;br /&gt;
&lt;br /&gt;
少々型が古かったため、プラグインプレイとは、いかなかったが、Sonyのホームページから対応ドライバーをインストールして無事接続完了。&lt;br /&gt;
&lt;br /&gt;
チャリ～ンという音とともに支払いができた。&lt;br /&gt;
残念ながらチャージはコンビニ等でなければできないが、支払いについては安心で便利であると思う。</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/5253159817370698783/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/edy.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5253159817370698783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/5253159817370698783'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/edy.html' title='Edyカードでのお支払い'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9145717246056462490.post-2635880877015062172</id><published>2012-08-09T16:28:00.002+09:00</published><updated>2012-08-09T16:28:53.770+09:00</updated><title type='text'>電子書籍</title><content type='html'>小学館、全社員に楽天の電子書籍リーダー「kobo Touch」を配布したことが話題となっているが、&lt;br /&gt;
書籍に限らず、ゲームや音楽など、専用のプレイヤーを買わなくても、携帯の機能で実現できる時代である。&lt;br /&gt;
ドラクエもオンライン化したのは、次世代は携帯によるプレーを意識したものではとの話もある？&lt;br /&gt;
&lt;br /&gt;
私は、まだ試したことがないが、電子書籍で読む小説は、また違った面白みがあるのだろうか。&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://aicell-ai33.blogspot.com/feeds/2635880877015062172/comments/default' title='コメントの投稿'/><link rel='replies' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/blog-post_9.html#comment-form' title='0 件のコメント'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2635880877015062172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9145717246056462490/posts/default/2635880877015062172'/><link rel='alternate' type='text/html' href='http://aicell-ai33.blogspot.com/2012/08/blog-post_9.html' title='電子書籍'/><author><name>AI33</name><uri>http://www.blogger.com/profile/14093489203109312998</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>