This domain may be for sale!
色々な言語を触っていると、ふとした時に「あの言語のあの関数便利なのに…」と思ってしまうことがある。特に関数が非常に豊富なPHPを触った後に気づくことが多い。 同じ関数が別な言語で実装できれば、便利なのは間違いない。そう考えて(恐らく)作られているのがこのソフトウェアだ。 今回紹介するオープンソース・ソフトウェアはp2js、PHPの関数をJavaScript上で実装するプロジェクトだ。 現時点でも配列関係の関数、is_**系関数、htmlspecialchars等も実装されている。mktimeや、フォーマットが指定できるdate関数などは需要がありそうだ。 60を越える関数が用意され、各関数ごとに別ファイルになっている。それだけに利用するものだけ取り込んでいけば実装も手軽になる。実装が細かく分けられているので、皆で個別に製作していけばどんどん作れていけそうな気がする。 プログラム言語で関数が
TurboWidgets, presented by TurboAjax Group TurboWidgets are JavaScript client-side controls that provide a rich user-interface experience for AJAX-style web applications. 以前紹介した、AjaxなphpMyAdmin のページで、TurboWidgetsというAjax部品集がリリースされていたので紹介。 例えば、次のイメージはTurboGridというコンポーネント。かなりクオリティ高いです。 その他にも、次のようなプログレスバー(ぐんぐん伸びるイメージがカッコいい) 高品質なボタンコンポーネント集(一見デスクトップ風) ツリービュー(アイコン表示できる) タブコンポーネント(Appleのサイトっぽい) ドラッグアンドドロッ
JamesDam.com ? AJAX Login System Demo This is an example of a login system that does not require page refreshes, but is still very secure. Ajax+PHPでの画面遷移なしのログイン画面作成サンプルが公開されています。 フォームに、user1, pass1 を入力すると即時認証が行われ、次のようにログイン状態になります。 認証には、Ajaxを使ったワンタイムパスワード方式が使われます。 具体的には、Ajaxでサーバからチャレンジコードを取得し、チャレンジコードとパスワードをmd5でハッシュして、更にその値をサーバに送信し、認証を取ります。 このため、従来の方式よりは安全な認証が可能となります。 Ajaxが出てきたことで、ブラウザを開いたままの状態でインタ
J4P5: Javascript For PHP 5 J4P5 is a JavaScript interpreter written in PHP 5, that allows to run untrusted scripts in a sandbox on your server. It aims to implement most of Ecma-262 3d edition. PHP5上でかかれたJavascriptインタプリタ。 JavascriptのソースをPHP5で動かすことが出来るようです。 次のようなソースで、JavascriptのソースがPHP5上であまりにも簡単に動いてしまうからかなり驚き。 <?php /* * P4J5のサンプル */ // モジュールの読み込み include "js.php"; // Javascriptのコード記述し$codeに代入 $cod
POBS POBSを使えばPHPとJavascriptのコードを簡易暗号化することが可能。 POBSはユーザ定義の関数、定数、変数をそれぞれMD5化して先頭の8バイトの文字列に置換します。 その上で、関数ならFabcdefghのような感じで先頭にFをつけるようになっています。変数はV、定数はC。 コメントやインデントも削除して、よりソースコードを分かりにくくするようです。 この方式のスクリプト変換であれば、サーバ側に特別なソフトをインストールすることなく、変換後も動作するものを作れますね。 変換をかけると次のようなスクリプトになります。 $V4a949e17=array();$Va7254761=array();$Vd74f666d=array(); if ($PA) F23da1c4c();else Fb72cca71(); function F23da1c4c() {global $V
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く