タグ

jqueryとCakePHPに関するhossaのブックマーク (5)

  • Jtalk Smalltalk - documentation

    API (App Programming Interface) is an interface software program that helps to interact with other software like a user interface (UI). It is the primary entry point for a website and app, including third-party integration, making life easy for developers. This article is for those considering using APIs in their coding projects. Let's see, what are APIs? APIs provide a way for an app to interact

  • straighten � cakePHPでjQueryファイルアップロード&サムネイル生成

    長いタイトルですみません。でも、これが全てです。 最近、会員制サイトに必ずあると言っても過言ではない、プロフィール画像のアップロード&サムネイル生成をjQueryを利用してやってみよう!と言うサンプルです。 1, 材料を用意 jQuery jQuery Form plugin Thumbmake component サンプルの画像 jqueryは、ファイル名をjquery.js、jQuery Form Pluginは、jquery.form.jsとしてWWW_ROOTのjsディレクトリに保存。Thumbmakeは、controllers/componentsにthumbmake.phpとして保存しておいて下さい。 2, ファイルアップロード用のviewを作成 今回は仮に、views/buddies/index.ctpとして作成、保存しました。

  • CakePHP jQuery を使用した Ajax ファイルアップロード | Sun Limited Mt.

    下記ページを参考にさせていただきました。 “jQueryを使ったAjaxファイルアップロード” フォーラム – CakePHP Users in Japan David Golding Design Blog - 上記ページでは jQuery を使用してテキストファイルをアップロードしてテキストの内容を表示するというものですが、画像をアップロードしてアップロードした画像をフォームの下に Ajax を利用して表示するというのをやってみました。 jQuery 使用準備 jquery.js と jquery.form.js を app/webroot/js/ 以下に配置します。 アップロードするビューで上記 JavaScript ファイルを読み込むため下記コードをビューに追加します。 <?php echo $javascript->link(array('jquery.js','jquery.f

  • Edit in place with JQuery and CakePHP - cakebaker

    Sometimes it is quite handy if the users of an application can simply click on some text to edit it. Adding such a feature to your application is not very difficult as you will see. At first we have to get the Jeditable plugin (plus the JQuery library if you don’t have it already) and place it in app/webroot/js. In this folder we also create a js file which will contain the Javascript code we have

  • jQueryでファイルアップロード David Golding Design Blog -

    出会い系サイトはたくさんありますが、無料のものと有料のものがあるのはご存知ですか?これから使ってみようと思っている人も、これまで使っていたサイトとは違うところを探している人にもおすすめしたい情報を集めてみました。ぜひ優良なサイトを見つけて、良い出会いを行っていきましょう。 ■男性と女性で違うサイト利用料が設定されているサイトは安心? 出会い系サイトの登録規約を見ていると、「男性〇円・女性△円」と男女で違う値段設定にされていることが多々あります。大抵の場合は、男性の方が高く設定されているでしょう。場合によっては男性だけが登録費を支払わなければならないということもあるようです。 このようなサイトを見ると、初心者の人は「怪しいサイトなのでは?」と疑心暗鬼になってしまうかもしれません。そんなときに注目したいのは、そのサイトでのサービス内容や、実際に利用している人の声です。 サイト内には、「こういっ

  • 1