IBM Developer is your one-stop location for getting hands-on training and learning in-demand skills on relevant technologies such as generative AI, data science, AI, and open source.
PHPとRubyの文法面および主要な機能にのみ注目して(ラフな)比較を行った。そのため、各種関数などにはほとんど触れていない。 式と文 やや便宜的な説明になるがPHPの式および文の特徴を以下に示す。 なんらかの記述を式と呼ぶ 式は値を持つことも持たないこともある 関数は必ず返り値を持つが、echoなど一見関数に見えるものの中には値を返さないものもある 文は式を;で終えたもの Rubyの式および文の特徴を以下に示す。 なんらかの記述を式と呼ぶ 厳密にいうと式は値を持つことも持たないこともあるが、Rubyではほとんどすべての記述が値を持つと考えてよい ifやfor、メソッド定義も値を返す 文は式からなり終端を明示するために;を付けてもよい 通常はつけない 複数の文字を一行に書くときには必要 ブロック 「ブロック」といったときPHPとRubyで意味するところはかなり違う。 まずPHPでいうブロッ
CodeZine:CakePHPフレームワークによる快速WEB開発(PHP, フレームワーク, CakePHP) 今回は特に、Ruby On Railsに触発されて開発が始まり、なおかつ独自の発展を遂げているCakePHP(ケイク・ピー・エイチ・ピー)フレームワークを紹介します。PHPという言語の面白さや、フレームワークによる開発に興味を持っていただければと思います。 「CakePHPフレームワークによる快速WEB開発」という記事がCodeZineに投稿されてますね。 Cakeのインストール〜使い方まで、日本語の分かりやすいチュートリアル。 参考:10分で作るCakePHPアプリ 関連エントリ PHPフレームワーク「CakePHP」の日本語リファレンス
Gen-X-Design | Ian Selby 実PHP Thumbnailer Class A PHP Class for manipulating images. It features the ability to scale by percentage, width, height, and to create a square crop of an image. PHPで画像サムネイルを作成する便利クラス『PHP Thumbnailer』。 PHPではイメージ関数が用意されていますが、画像をいざ縮小するってなると結構厄介だったりします。 このクラスの提供するメソッドを使うことで画像のリサイズ・切抜きが簡単に出来ます。 このクラスを使ったサンプルソース <?php include('thumbnail.inc.php'); $thumb = new Thumbnail; $thu
ようこそphpspotへ! 当サイトではフリーのwindows用php開発環境であるPHPエディタ(forWin)や、 フリーのPHPスクリプト( PHP掲示板,webshot,webimager,CMS 等 )、PHPツールバー、テレビバー、 便利検索バー(Yahoo,Google,辞典検索)などを配布しています。 その他、PHP入門 や PHP5-TIPS、PHPサンプル集、MySQL解説、PHPレンタルサーバー特集 などのコーナーもあります。 スポンサードリンク 2009/09/14 サイトで配布しているPHPスクリプトに脆弱性!すぐ最新版にアップしてください! new! 2009/01/21 PHPで携帯サイト構築を公開! 2008/07/12 PHPによるWebアプリケーションスーパーサンプル 活用編 第二版が出ました 2008/04/22 PHPエディタをVistaに対応させま
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く