After having had small issues every time I try to embed flash in my apps, and always resorting to using the javascript SwfObject, I decided it was time to just make a wrapper helper for this helpful vendor. So, if you need a fast, easy and reliable way of adding flash to your projects, look now further, the FlashHelper is here to help. What it does It gives you a oneliner to embed flash into your
Flowplayer is now part of the Wowza Video live streaming and VOD platform. Learn more →
"; o += "\n\t\t\t" + ac.replace(/\n/g, "\n\t\t\t"); o += "\n\t\t "; } else { var atts = ""; if (id != "") { atts += " id=\"" + id + "\""; } if (nam != "") { atts += " name=\"" + nam + "\""; } if (cls != "") { atts += " class=\"" + cls + "\""; } if (ali != "0") { atts += " align=\"" + ali + "\""; } o += "\n\t\t "; o += "\n\t\t\t
I’ve finally found the time to port my SWFObject add-on SWFMacMouseWheel (catchy I know) to ActionScript 3.0 and SWFObject 2.0 There’s now two examples in the zip, one for use with SWFObject 1.5, and a totally re-written version for use with SWFObject 2.0 (formerly SWFFix) All you have to do in your main application class (or document class) is 1 2 3 import com.pixelbreaker.ui.osx.MacMouseWheel; M
swffit (formerly know as FitFlash) is a smart script that resizes your flash movie automatically if your browser window size is smaller or greater than your flash minimum desired size keeping it accessible independent of screen resolution. IMPORTANT: This project isn't being activelly maintained anymore and needs contributors, use it with care and make sure you read these notes and check the issue
JQuery helper for CakePHP ( PQuery port ) at NGCoders CakePHP から JQuery を簡単に使うことができます。 正確には PQuery ヘルパーかもしれません。PQuery は JQuery を PHP から簡単に使用するライブラリで PQuery ヘルパーと同じ開発者が開発しています。 参考:PQuery – PHP and JQuery at NGCoders インストール JQuery helper for CakePHP ( PQuery port ) at NGCoders から JQuery ヘルパーをダウンロードし、解凍した pquery.php を /app/views/helpers にコピーします。 そのほかに jquery.js ファイルも必要になります。こちらもダウンロードして /app/webroot/
Tip 686 Printable Monobook Previous Next created 2004 · complexity basic · author Matt Perry · version 6.0 One of the keys to effective Vim usage is effective buffer management. Vim doesn't force you to click on a tab every time you want to look at another file, but if you don't know how to easily find the buffer you want, it can be just as frustrating. Terminology[] Some of the terms used in this
Bandar Judi Slot Online Terpercaya Judi slot online sekarang ini menjadi pembincangan hangat di kalangan bettor dari penjuru nusantara. Permainan judi yang ada di deretan casino telah hadir di perjudian online yang dapat kita akses dengan sangat mudah dan gampang. Bagi anda yang saat ini sedang ingin melakukan taruhan judi slot online tetapi masih sedikit binggung untuk memulai, anda sudah berada
A jQuery plugin for embedding Flash movies. Features Simple, but powerful. Specify what you need, and nothing more -- sensible defaults take care of the rest. $('#hello').flash({ src: 'hello.swf', width: 320, height: 240 }); Perform sophisticated replacements by passing a custom callback. $('.custom').flash(null, null, function(htmlOptions){ // do stuff }); Overwrite the defaults to always to meet
Skip to main content What is the jQuery SWFObject plugin? The jQuery SWFObject plugin is an addon for jQuery that lets you easily embed flash movies on a page. This plugin gives you the best of both worlds; you get the power of SWFObject within the jQuery API. The latest version, 1.1.1, is based on the latest SWFObject version 2.2. The project was started in 2009 with permission from the SWFObject
Ringとは、リクルートグループ会社従業員を対象にした新規事業提案制度です。 『ゼクシィ』『R25』『スタディサプリ』など数多くの事業を生み出してきた新規事業制度は、 1982年に「RING」としてスタートし、1990年「New RING」と改定、そして2018年「Ring」にリニューアルしました。 リクルートグループの従業員は誰でも自由に参加することができ、 テーマはリクルートの既存領域に限らず、ありとあらゆる領域が対象です。 リクルートにとって、Ringとは「新しい価値の創造」というグループ経営理念を体現する場であり、 従業員が自分の意思で新規事業を提案・実現できる機会です。 Ringフロー その後の事業開発手法 Ringを通過した案件は、事業化を検討する権利を得て、事業開発を行います。 さまざまな事業開発の手法がありますが、例えば既存領域での事業開発の場合は、 担当事業会社内で予算や
New CakePHP 5.0 Chiffon. Faster. Simple. Delicious. What's new in version The migration guide has a complete list of what's new in. We recommend you give that page a read when upgrading. A few highlights from 5.0 are: PHP 8.1 required. Improved typehints across the framework. CakePHP now leverages union types to formalize the types of many parameters across the framework. Upgraded to PHPUnit 10.x
New CakePHP 5.0 Chiffon. Faster. Simple. Delicious. What's new in version The migration guide has a complete list of what's new in. We recommend you give that page a read when upgrading. A few highlights from 5.0 are: PHP 8.1 required. Improved typehints across the framework. CakePHP now leverages union types to formalize the types of many parameters across the framework. Upgraded to PHPUnit 10.x
JavaScriptときたら、次はFlashのswfファイルもcakePHPのなかで使いたい。 JavaScriptの置き場所には /app/webroot/js が推奨されているようですが、swfはそういうディレクトリもなし。。 ということで個人的に /app/webroot/swf にしてみました。このwebrootの場所は$html->url()で取れるみたい。/swfまでのパスをとろうとすると、 $html->url('/swf') となりました。 swfの置き場所が決まったので、htmlの中で表示に合わせてパスを変更する必要があり、それは次のような箇所でした。 [1]swfの表示にAC_RunActiveContent.jsを使っている場合 引き渡しをしている変数2つを次のようにしました。 'src', '<?php echo $html->url('/swf/'.swfのファイ
たとえば http://hogehoge.com/index.html?page=1 js側では・・・ var flashvars = {}; var params = {}; var attributes = {}; params.page = swfobject.getQueryParamValue("page"); swfobject.embedSWF("main.swf", "flashArea", "100%", "100%", "9.0.0",flashvars, params, attributes); as側では・・・ var tmpParam_obj:Object = loaderInfo.parameters; var page:int = int(tmpParam_obj["page"]); で受け渡せますよー
>F5を押せば「名前をつけて保存」とするよう設定していたのに、急に動作が遅くなりました。昨日までは円滑に動作していたのになぜ遅くなったのか?それと、CTRL + Nを押せば新規ファイルが次から次へと現れるのに、急に動作が鈍くなり作業が困難になってきています。至急、改善してください。 昨日まではスムースに行っていたのに、今日、急に鈍くなったのはなぜか? 秀丸エディタの設定を何か変更したという訳でないのでしたら,原因は秀丸エ ディタではなくて,パソコンそのものの方にあるんじゃないかと思います. -------------------------------------------------------------- 以下,もしもパソコンそのものが原因だと仮定して話をさせていただきます. -----------------------------------------------
米Appleが1月27日(現地時間)、「iPhone」(スマートフォン)と「MacBook」(ノートPC)の中間に位置する製品として、タブレット型デバイス「iPad」を発表した。 当初うわさされていた、iPhone OSの新バージョン発表などはなかったため、iPhoneユーザーの中には期待はずれの発表会と映ったかもしれない。しかし、iPadのスペックには非常に興味深い点がいくつかある。 またiPadの米国での発売時期は、Wi-Fiモデルが3月後半、Wi-Fi+3Gモデルが4月とアナウンスされているが、そのほかの地域ではWi-Fi版が3月下旬以降、Wi-Fi+3G版が6~7月くらいになるという。日本市場でも、Wi-Fi版は3月下旬以降に発売されるが、Wi-Fi+3G版については6月以降になる見通し。 そんなわけで、現時点でははっきりした情報が極めて少ないが、あれこれと勝手に想像してみたい。
神奈川県川崎市、東急田園都市線 鷺沼駅前の東急鷺沼店1Fにあります。入って正面カウンターの左に一列モバイル席があります。カウンターの下に電源コンセントがあって、みんな使っています。スピードは11M程度で速く、安定しています。結構広めの店内ですので、長時間利用も時間帯によっては可能です。私は夜に利用しています。机の足の調整が悪くてガタガタですので、そこはちょっと不満な点です。 (※駅名は「鷺沼」ですが、地名・店名は「さぎ沼」です。)
ブラウザを閉じた後でも自動的にログインできるようにログイン・フォームに「次回から自動的にログイン」「次回からログインを省略」「Remember me」などのチェックボックスが備わっているケースを良く見かけます。AuthComponentとCookieComponentを使って実装してみます。AuthComponentのページで説明した例の続きとして説明いたします。 その1では、Authenticationにある方法を紹介します。 自動ログイン機能とは 自動ログイン機能とは、ログインが必要なページにもユーザー名やパスワードの入力なしでアクセスできる便利な機能です。ログイン時に「次回から自動的にログイン」にチェックしてログインすると自動ログインが有効になります。クッキーが使えるブラウザのみ対応。 自動ログインの仕組み 「次回から自動的にログイン」にチェックしてログインしたユーザーのブラウ
AuthComponentを使ってユーザー認証の仕組みを追加することができます。有効期間はセッションに関する設定(Session.timeoutとSecurity.level)に従います。また、自動ログイン機能について次ページ以降で説明します。 ページ遷移は次のようになります。 ログインが必要なページAにアクセス ログインページへリダイレクト(users/login,$loginAction属性で設定可能) ログイン・フォームを送信 ログイン直前のページAへリダイレクト 準備1 AuthComponentがデフォルトで参照するデータベースのテーブルは、id,username,passwordという名前のカラムを含むusersテーブルとなっています。別のテーブルやカラム名を使いたいときは、AuthComponentの属性を使って変更できます。 準備2 ログイン/ログアウト用のコントローラ
CakePHP is a PHP framework which is turning out to be most useful, and very flexible. I've embarked on a few little projects with it, and thought I would spread a little understanding with regards to the session component - as I struggled to find a concise set of examples to help me on my way. By default, a CakePHP application will automatically create a session instance when you're browsing throu
スパイスラボ神部です。 なんだか CakePHP で認証なりセッションなりで悩まされるとき、原因をたどっていくと結構 core.php の Security 設定を high にしていることが原因だったりすることがあるので不思議に思っていたのですが、隙を見て akiyan さんにちらっと聞いてみたらやっぱり『Security.level::high はできない子』らしいので、いい機会だと思ってここにまとめてみます。 -セキュリティが好きだ! - Favorites! Security.level が high のときに起きるいろいろなこと -CakePHPの Security.levelとセッション - あぁ そうだった Security.levelがhighに設定されていると、セッション「ID」は毎回生成されるのがCakePHPの仕様。 モバイルサイトを作成するときには要注意ですね。大
※[追記]タイトルが内容とあってないので修正しました。 Webシステムを開発していると、「ログイン状態中にブラウザを閉じたら、その後ブラウザを起動してアクセスするとログイン状態を破棄」いうことをおこないたいケースはよくあるかと思います。 それをcakePHPではどのようにおこなうかという話。 cakePHP*1では、「core.php」の「Security.level」でセキュリティレベルを指定することが出来ます。 レベルは3種類存在し、「high」「medium」「low」。 このセキュリティレベルを「high」にしていれば、上述の問題は解決しますが「medium」ではブラウザを閉じても情報が残されたままです。 じゃあ、「high」にしたら良いじゃないという話ですが、この「high」はちょっと使えない子だったりすることもあり、「medium」にしたいケースが多々あります。 さて、じゃあ「
This is a simple authentication component that I wrote as a quick way to protect areas of your web application. I wanted manual control of what permissions are granted to what action. Something as simple as this: Download code <?php $this->obAuth->lock(array(1)); ?> At the top of my action should mean only users belonging to usergroup 1 are allowed to use this action. Before we begin this tutori
New CakePHP 5.0 Chiffon. Faster. Simple. Delicious. What's new in version The migration guide has a complete list of what's new in. We recommend you give that page a read when upgrading. A few highlights from 5.0 are: PHP 8.1 required. Improved typehints across the framework. CakePHP now leverages union types to formalize the types of many parameters across the framework. Upgraded to PHPUnit 10.x
the component part of othAuth changes: 0.5.4.5: - Fixed a bug that was introduced by lately, missing / - Fixed a bug ( not really bug but oh well ) preventing othAuth from recovering a session from the cookie data in some situations 0.5.4: - Fixed a bug in loginAttempts reported by PatDaMilla - Added support for parameters sent via url in a traditional way, mainly for redirects, thanks to R
なんじゃこりゃ。こんなことで何十分ハマってんだよ。というのがあったので書いておきます。 CakePHPでリダイレクト先が真っ白…ログを見てもエラーが吐かれていない。んんん?随分PHP触ってるけどこんなん初めてだぞ?エラーも出ない。ステップ実行してもリダイレクトするけどやっぱりブラウザに空白画面が表示されるだけ。おいおい、なんじゃこりゃ。CakePHPのバグか? 検索してもキーワードがまずいのか良い情報が出ず。しょうがないのでredirectメソッドのソース見るとPHPのheaderで飛ばしてるだけ。そりゃそうだよね…なんで?まあ、落ち着け。原点に返って久々にPHPのマニュアルでも見ようじゃないか。そんで見たのがPHP: header - Manual。 覚えておいて頂きたいのは、header() 関数は、 通常の HTML タグまたは PHP からの出力にかかわらず、すべての実際の 出力の
CakePHPは、PHP言語の高速開発用フレームワークです。日々、発展を遂げる各種フレームワークの動向を見極めつつ、日本発のCakePHP応援ブログとして、最新情報をお届けします。 CakePHP が標準で使える認証システムとしては、ACLがあります。INIベースとデータベースを切り替えることができたり、ユーザのアクセス許可コントロールなどかなり複雑なことができますが、それゆえに設定が面倒だったりします。 こちらで作成しているものは、「少人数で使用するWEBアプリ」なので、一つのユーザ名とパスワードを入れれば入れる、という仕組みのものを試しに作成してみました。 SdAuth.zip sd_auth.zip 使い方は、 1) sd_auth.php(このファイル)を app/controllers/components に置く。 login.thtml を app/views/layouts
Now through 9/30, get a gift card up to $150 when you buy iPad or Mac with education savings.Δ Shop For a limited time, shop eligible iPad and accessories tax‑free — online and in‑store. For a limited time, shop eligible iPad models tax‑free — online and in‑store. Learn more Get 3% Daily Cash back with Apple Card. And pay for your new iPad over 12 months, interest‑free when you choose to check out
All the naysayers can feel free to eat their hats. Today Apple finally revealed the device we’ve all been whispering about for a good year or more. The Sasquatch of gadgets is real. We’ll update this with all the details as they happen; in the meantime, follow our live coverage. Looks like a big iPhone to us. 1GHz Apple A4 processor (custom) 0.5″ thick 1.5 pounds 9.7″ Capacitive touchscreen (1024×
Will the Apple tablet finally, really be unveiled? We're at the Yerba Buena Center in San Francisco (see above) patiently waiting to get inside and get this thing underway! Keep reading after the break for the minute by minute coverage! 11:33AM That's it. Time for a hands-on! 11:33AM "We've always tried to be at the intersection of technology and liberal arts -- we want to make the best tech, but
It's often more practical (read: maintainable) to use the built in components and much as I like SwiftMailer, I thought it best that I investigated Cake's core EmailComponent. Big Note: The examples below are not intented for production servers, but just to give an idea of the files/code snippets needed to send email. First create your email layouts. Create a default.ctp in the following director
naoki kishida kishida @ fk.urban.ne.jp 2004年 1月 28日 (水) 02:27:55 JST 前の記事 [PHP-users 20074]Re: 代入演算子 =& について教えてください。 次の記事 [PHP-users 20076]Re: 代入演算子=&について教えてください。 記事の並び順: [ 日付 ] [ スレッド ] [ 件名 ] [ 著者 ] きしだです > 代入演算子 =& について教えてください。 Cでいうところのポインタの代入になります。 通常の=演算子の場合は、コピーが代入されますが、=&の場合は参照が代入され ます。 class Hoge{ var $a; } というクラスがあるとして $o = new Hoge(); とすると、一旦Hogeのインスタンスを生成して、そのインスタンスのコピーが$a に代入されるので、インスタ
How to quickly setup AJAX to call Cake actions using jQuery. (For the people who keep wondering when there will be a jQuery helper) Since this tutorial was missing and some people on IRC have been asking questions about when there will be jQuery support in the ajax/javascript helper I decided to write this. I find that helpers are used for generating HTML markup, you don't see a helper for CSS as
There has been a lot of questions about user authentication lately so I thought it was appropriate to create a tutorial that covered the very basics In this tutorial we'll cover all aspects of MVC in an authentication role, logging a user in, maintaining a session, and restricting unauthorized access to controller actions. Though this article is based on CakePHP 1.2.x, the same concepts apply
[This is a slightly updated copy of the tutorial on now defunct wiki.cakephp.org] This example will show you how to send HTML mail from you Cake application with PHPMailer. You will create: 1. cakePHP component 2. a vendor package 3. view for plain text email body 4. view for HTML email body 5. a function in your controller to send mail. Steps Get PHPMailer Get PHPMailer http://phpm
講談社や新潮社、集英社など主な国内の出版社21社が、一般社団法人「日本電子書籍出版社協会」(仮称)を2月に結成する。電子書籍市場の拡大、米国の電子書籍大手、アマゾンの読書端末「キンドル」の日本語版発売が想定される中、主要出版社が書籍電子化に団結して対応することなどが狙いだ。 電子出版については電子書籍の会社が出版社を通さず、個別に著者と交渉することもあった。同協会は、著者や販売サイトとの契約のモデル作りをしたり、電子書籍の端末メーカーと著者、出版各社などの交渉窓口となる。デジタル化に伴う作品2次利用に関する法整備も求めていく。 講談社や光文社、文芸春秋などは2000年から「電子文庫出版社会」を結成し、自らも書籍電子化を進めてきた。他方、電子書籍端末は、キンドルのほか、ソニーやシャープなども開発を進めている。調査会社インプレスR&Dによると、電子書籍の国内市場は、08年度に約464億円。今後
学生証うpスレ カテゴリ☆☆☆☆☆ 1 :以下、名無しにかわりましてVIPがお送りします:2010/01/23(土) 17:47:55.09 ID:7T0HKqSH0 浪人生の俺に学生証を見せてくれ モチベーション上がるかもしれぬ 2 :以下、名無しにかわりましてVIPがお送りします:2010/01/23(土) 17:50:37.95 ID:Hdqen81H0 >>2 shine VIPってまともな奴いないのかなw 皆口先だけ?ww 4 :以下、名無しにかわりましてVIPがお送りします:2010/01/23(土) 17:55:18.61 ID:7T0HKqSH0 大学名晒せってスレではかなり高学歴がいるけど 実際はFランいや高卒のニートばっかだったってことかwwww 納得^^ 6 :以下、名無しにかわりましてVIPがお送りします:2010/01/23(土) 17:5
はじめに この記事では、MySQL を使って簡単なメッセージキューを手軽に実装する方法を解説します。 メッセージキューとは、メッセージを一時的に溜めておき、順次処理するための仕組みです。迅速なレスポンスが必要な Web アプリケーションにおいて、時間のかかる処理を非同期に行うために、バックグラウンドで順次処理していくような場合に利用できます。 簡単なメッセージキューと言っても、大規模な運用にも耐えられる程度の速度と堅牢性を持ちます。 また、ここで解説している方法で作られたメッセージキューは、弊社ウェブサービスであるニコニコ動画に最近追加されたtwitter連携機能でも利用しています。 メッセージキューを作るにあたって 今回実装するメッセージキューは メッセージの追加(push)を高速に行う事ができる メッセージの取得(pop)はある程度高速に行う事ができる 多くのクライアントから同時に p
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く