feed   myspace   facebook   last.fm   send an email   twitter   tumblr   send a message via aim to graykicksass

Posts tagged ‘ajax’

So..

Music search got a bit better, web based.

IgniteM running

IgniteM running

 I’m in desperate need of beta testers so if your intrested drop a line at graham.stachowiak@gmail.com

The ego framework.

There’s a long story behind this and in the coming days, all will be explained.

But I now present to you the code of a page using the ego framework, when we get it all finished properly it will be awesome:

The internet before ego:
<html>
<head>
<title>The ugly page</title>
</head>
<body>
<h1>The Ugly Page</h1><br />
<div id="bla">This page sucks, loads links normally, and doesn't come out of the browser looking good. Why would a market-demographic like a teenager or somebody want to look at this page? Unless your a coder and it's full of awesome content, you don't.</div>
</body>
</html>

The internet after ego:
<?php
    include('ego_framework.php');
    $ego = new ego();
    $ego->__init();
?>
<html>
<head>
<title>The new hot page</title>
</head>
<body>
<?php echo $ego->WriteHeadBar(); ?>
<h1>The HOT Page</h1><br />
<div id="bla">This page doesn't suck because it used the 'Ego' framework, it looks nice and is auto stylized with the 'ego' template. And don't worry about CSS classes ego's JS system will take care of that.<a href="two.php" type="ajax">Click here</a></div>
<?php echo $ego->WriteFooterBar(); ?>
<div id="extra-footer">And here ego's JS system will automatically stylize this bit. For copyrights and shit</div>
</body>
</html>
two.php:
<div id="bla">This content will be dynamically loaded and replaced! All with a simple link</div>

It’s awesome, make pages look good and enter a network of sites. And use OpenLogin’s existing framework(<< secret) at the same time. Cool.

More news on this and it’s big parent project in a couple days. Expect blog about sushi later.

Writing a social site network.

So I create a lot of internet sites. And I know people that create a lot of internet sites. And I like it this way, I like having 100’s of sites that I visit. But the annoying thing is the globalized login system.

This has actually been in the works for a while, since somewhere near the start of Axcid. It was never fully documented as a login system and got cut out of the latest Axcid API version.

The goal? To create a network of sites. What the plan was?

  • Implement a social login system.
  • Implement a fully compatible XML login API for it, that also allowed access to some public user data.
  • Implement Facebook & Myspace integration applications, aswell as a small social network using the login system.
  • Implement an OpenID provider system, allowing you to login on OpenID sites with our details, but not the reverse.
  • A global site ‘framework’ allowing for fast creation of new sites, layout generation, site cross-integration and quick ajax frameworks.

So I’d like to hear your thoughts on this idea, as a developer, would you use a freely availible login framework? Would people be open to the idea of a site directory? Would developing this into all products be worthwhile? Leave a comment by going to the full post link or drop me a line @ anon@nati0n.org and tell me your thoughts.

Today I learned.. All about Google Maps & AJAX

http://graymatter.hostkiwi.co.uk/maps_experiment/#

Best viewed with FireFox 3, Fullscreen mode. Search does not seem to work in google chrome and I do NOT expect it to work in IE.

But anyways this was me learning the Google Maps API, GeoCoding and AJAX all in one day, plus some cool UI tricks.

F11 does the fullscreen for firefox 3 on windows btw ;) . Now let’s tear the thing apart:
I used the google maps api (http://code.google.com/apis/maps/documentation/) and tried to learn as much as possible. My own code to generate the 3 buttons used. AJAX for the search and google / my code for the ajax search (geosearch.php). That basically created and parsed calls to a geocoder which converted the search query into a latitude / longitude pair. That was then passed in my navigation function thru the XMLHTTP object and then eval’d. So my function would run and navigate it.

A pretty cool way to learn ajax and the maps api huh? I’ll give the source to anyone who is intrested but the page source tells a lot of the story :P . Great learning experience. I’m gonna go take a look at what other API’s google has :P .
EDIT:

Screenshot of the original running fullscreen: http://graymatter.hostkiwi.co.uk/supercool.png

before it had supercool stuff :P