Visible.net is a new provider of state-of-the-art ecommerce and online marketing services.
(more…)
The
Sun Web Developer Pack isn’t a sexy name, and having ‘Sun’ start it out often doesn’t help a technology…. but there is some good technology here.
(more...)
PQuery is to jQuery as Rails helpers is to Prototype and Script.aculo.us:
PQuery is a set of helper classes for JQuery JavaScript library.This library allows you to easily integrate AJAX , Effects and other JQuery functionality into your PHP scripts.IT has a small foot print and is compatible with PHP4 and PHP5.
PHP:
-
-
<?=$pquery->form_remote_tag(
array('url'=>'index.php?task=ajax','update'=>'#idtoupdate'));?>
-
Field : <input type="text" name="field" /><br />
-
<input type="submit" />
Steve Marx has created a
PHP library for the Microsoft Ajax 1.0 release that uses the JavaScript piece in PHP land.
The Microsoft AJAX Library is a pure-JavaScript library that's used by ASP.NET AJAX but is also available as a separate download. Because it's pure JavaScript, it's not tied to ASP.NET on the backend. PHP for MS AJAX is code to help you make use of the Microsoft AJAX Library from PHP applications. With this first Alpha release, it simply supports exposing PHP classes as AJAX-enabled web services, just as in ASP.NET applications. In fact, the generated proxies are identical to what you get from ASP.NET, meaning you can have full interoperability.
Hello World
The service on the backend so to speak:
HTML:
-
-
<?php
-
-
require_once '../../dist/MSAjaxService.php';
-
-
class HelloService extends MSAjaxService
-
{
-
function SayHello($name)
-
{
-
return "Hello, " . $name . "!";
-
}
-
}
-
-
$h = new HelloService();
-
$h->ProcessRequest();
-
And the front end that will talk to it:
HTML:
-
-
-
-
-
<script type="text/javascript" src="../../MicrosoftAjaxLibrary/MicrosoftAjax.js"></script>
-
<script type="text/javascript" src="HelloService.php/js"></script>
-
</head>
-
-
Name:
<input id="name" type="text" />
-
<input type="button" value="Say Hello" onclick="button_click(); return false;" />
-
-
Response from server:
<span id="response"></span>
-
</body>
-
-
function button_click() {
-
HelloService.SayHello($get('name').value, function (result) {
-
$get('response').innerHTML = result;
-
});
-
}
-
</script>
-
</html>
Dishola is a new site that aims to be the Web 2.0 restaurant guide.
The site was built with CakePHP (v1.2) and is unobtrusively decorated w/ Ajax thanks to addDOMLoadEvent and Cake's RequestHandler component (for instance, if you're logged in and click on the "Add to My Future Feasts" link before the DOM has loaded, the href works as expected, but most likely you'll get the inline ajax experience).
If you register and "Add a Dish" you'll see that we're using Yahoo's Local Search API to match up the restaurant to something already in their db (thus ensuring geocodes, data normalization, and a yahoo_id with which to link into reviews, and most importantly it saves the user the tedium of finding this stuff and cutting and pasting) And if the restaurant say isn't in Yahoo Local yet, the entered address gets geocoded via Google. I think this is probably the neatest feature on the site so far.