Rave Radio: Offline (0/0)
Correo electrónico: Contraseña:
Anonymous
Nueva cuenta
¿Olvidaste tu contraseña?
Page: 1Rating: Unrated [0]
Pretty Urls
Good [+1]Toggle ReplyLink» throwawayguy replied on Thu Mar 8, 2007 @ 1:21am
throwawayguy
Coolness: 44930
Any chance of seeing pretty URLs on ravewave in a near future?

That'd be swell!

Keep up the good work ^-^
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» Nuclear replied on Thu Mar 8, 2007 @ 1:50am
nuclear
Coolness: 2604085
Maybe for the next version of the site if I end up using Ian's Framework. It would require a lot of work to convert all the code since this site uses my module system... Personally I don't see a problem with this system. Whatever the case at some point I want to release the code so a fix up of all scripts would be needed.
I'm feeling workaholic right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Thu Mar 8, 2007 @ 7:32am
throwawayguy
Coolness: 44930
Well you could do it with mod_rewite will minimal impact on the code. Obviously all the urls needs to be rewritten in the code. I guess that is an undertaking in itself. Hmmm releasing the code would be nice, maybe throw a little Subversion & Trac in the mix? :D OSS tastes like candy to me ^-^
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» Lone_Star replied on Thu Mar 8, 2007 @ 8:15am
lone_star
Coolness: 153155
Stop speaking in tongues you two.
Good [+1]Toggle ReplyLink» neoform replied on Thu Mar 8, 2007 @ 8:42am
neoform
Coolness: 339765
Originally Posted By XSMURF

Well you could do it with mod_rewite will minimal impact on the code. Obviously all the urls needs to be rewritten in the code. I guess that is an undertaking in itself. Hmmm releasing the code would be nice, maybe throw a little Subversion & Trac in the mix? :D OSS tastes like candy to me ^-^


that's exactly what he's going to do. I've been making an open source framework for designing websites with nice urls.

[ phpneoform.com ]
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Thu Mar 8, 2007 @ 1:39pm
throwawayguy
Coolness: 44930
Kewl. I just had a look (not too deep though). Didn't really see the url stuff. It might already be like this, if so disregard my comment. The best way, I've found, to do clean/pretty urls is to rewrite everything after the root as a GET and then parse it from the php, instead of parsing it in the rewrite. It's a lot more flexible and easier to manage. It' how most apps do (Wordpress, RoR, etc). Also, have you considered using classes and MVC for your framework? It makes thing a whole lot cleaner and a whole lot easier to add stuff, which is fairly important if you want this to be released as OSS with versioning so users (not Joe Blow, duh) can contribute. Another thing which might help the development would be the use of Pear classes. It has a bunch of premade stuff (namely Authentication with custom user containers, database abstraction, template -Template IT is very nice).

On a side note, why host on Windows (I'll guess 2003 server) instead of Linux/UNIX?
Update » throwawayguy wrote on Thu Mar 8, 2007 @ 2:01pm
Also neoform, why not use Prototype for the ajax part? It already handles all the cross browser stuff and is very nicely written! As far as I can see you're using ActiveX at the moment which is handled only under windows (FF windows? never looked sorry). I know a bunch of us run *NIX and Macs, why leave us in the dark when a better alternative exists?
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» neoform replied on Thu Mar 8, 2007 @ 4:00pm
neoform
Coolness: 339765
[ www.phpneoform.com ] is the current trunk build. you only get access to the frontend unless you install it yourself..

I use mod rewrite and it works great.

As for protoype, my ajax function is like 2kb and loads really fast whereas prototype is like 50kb and adds an extra 2-3 seconds load time for the page.. when most of the code doesn't even get used..

Also, i have a core2 xp machine that i test using FF2, IE6 and IE7 as well as a quad core 3.0 mac where i test with FF2 and safari.. everything works perfectly.
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Fri Mar 9, 2007 @ 12:43pm
throwawayguy
Coolness: 44930
Hmm interesting, I would have thought the ActiveX code wouldn't have worked... maybe I didn't look far enough and you're only conditionally using it? As for prototype, well just strip out the code you don't need :P
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» neoform replied on Fri Mar 9, 2007 @ 1:47pm
neoform
Coolness: 339765
[ www.phpneoform.com ]

gotta look closer..

var _ms_XMLHttpRequest_ActiveX = "";
var self = this;
if(window.XMLHttpRequest)
{
self.AJAX = new XMLHttpRequest();
}
else if(window.ActiveXObject)
{
if(_ms_XMLHttpRequest_ActiveX)
{
self.AJAX = new ActiveXObject(_ms_XMLHttpRequest_ActiveX);
}
else
{
var versions = ["Msxml2.XMLHTTP.7.0", "Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.5.0", "Msxml2.XMLHTTP.4.0", "MSXML2.XMLHTTP.3.0", "MSXML2.XMLHTTP", "Microsoft.XMLHTTP"];
for(var i=0; i < versions.length; i++)
{
try
{
self.AJAX = new ActiveXObject(versions);
if(self.AJAX)
{
_ms_XMLHttpRequest_ActiveX = versions;
break;
}
}
catch (objException) {};
};
}
}
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» AlienZeD replied on Fri Mar 9, 2007 @ 2:03pm
alienzed
Coolness: 509660
Mathieu, long time no see, good to hear you're still strong in the programming game
I'm feeling work right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Fri Mar 9, 2007 @ 4:54pm
throwawayguy
Coolness: 44930
Neoform: yup you're right, again heheh.

Hey Michael: for sure mang.. as I said in another thread, code is sexy. Why would I move away from it :D Albeit my new baby is a sexier... [ arduino.cc ] >> µC's are the shit! What are you up too? And mostly.. what's with the IBM IP? ;D
Update » throwawayguy wrote on Fri Mar 9, 2007 @ 4:57pm
Neoform: you really had to brag about the quad cores didn't you? :P
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» neoform replied on Fri Mar 9, 2007 @ 5:06pm
neoform
Coolness: 339765
well, it did cost me $4500..
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» Nuclear replied on Fri Mar 9, 2007 @ 5:22pm
nuclear
Coolness: 2604085
In 3 months it will be worth 3000$ :)
Update » Nuclear wrote on Fri Mar 9, 2007 @ 5:23pm
Like my 8000$ TV which cost 1499$ 3 years later...
I'm feeling workaholic right now..
Good [+1]Toggle ReplyLink» neoform replied on Fri Mar 9, 2007 @ 6:12pm
neoform
Coolness: 339765
It's a used computer, obviously.
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Fri Mar 9, 2007 @ 8:41pm
throwawayguy
Coolness: 44930
Are we talking about Quad Core G5 or the double Xeons? In any case, sweet sweet machines ^.^
Seen the new VMWare beta? Full DirectX 8.1 acceleration :D I'll have to give it a try sometimes.
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» neoform replied on Fri Mar 9, 2007 @ 10:02pm
neoform
Coolness: 339765
Apple refers to the dual dualcore xeons as 'quad cores'..
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Sat Mar 10, 2007 @ 3:33am
throwawayguy
Coolness: 44930
Yes, but so did they with the last PowerMac G5's which had a dual 2.5Ghz dual core configuration.
I'm feeling very lonely right now..
Good [+1]Toggle ReplyLink» neoform replied on Sat Mar 10, 2007 @ 8:46am
neoform
Coolness: 339765
that's why i said quad core 3.0 ;)
I'm feeling you up right now..
Good [+1]Toggle ReplyLink» throwawayguy replied on Sat Mar 10, 2007 @ 12:49pm
throwawayguy
Coolness: 44930
Oh you did! My bad.
I'm feeling very lonely right now..
Pretty Urls
Page: 1
Post A Reply
You must be logged in to post a reply.