My Portfolio
September 5, 2008 – 5:18 am
markafoni.com : Markafoni is an e-commerce site. It is a Django Project, so I worked only front-end.
icanfootball.com: I Can Football is a football game by Sobee. I used Codeigniter and YUI on this site. It was my first MSSQL project.
usaksofrasi.com : Uşak Sofrası is my experimental project. It is a clone of Yemek Sepeti -food order site-. Usaksofrasi is my first codeigniter project.
turkolimpiyattakimi.gov.tr : Türk Olimpiyat Takımı is the offical site of Turkish Olympic Team. I developed all front-end on this site.
2 Responses to “My Portfolio”
Hi Serdar,
I’m italian programmer. Very interesting your solution CI+YUI. I’m developing a similar personal project, but I’m in trouble with ajax call, so as I found your blog I asked you some help.
My question: can I pass a CI’s controller path as parameter in ajax call?
Example:
// the callback function
function callback()
{
var handleSuccess = function(o) {}
var handleFailure = function(o) {}
var callBack = {
success: handleSuccess,
failure: handleFailure,
timeout: 3500
}
// the path of CI’s “test” controller
var sUrl = “http://127.0.0.1/myproject/test”;
// example of POST data (is it correct?)
var postData = “?post_data=77442200″;
var request = YAHOO.util.Connect.asyncRequest(’POST’, sUrl+postData, callback);
It doesn’t work. Is a url problem? Can you help me?
Michele
By michele on Nov 28, 2008
Hi Michele,
Codeigniter doesn’t accept http get data like “?data=value”
So you should try to send your data by POST method.
For example:
var myform = document.getElementById(’form_id’);
YAHOO.util.Connect.setForm(myform); // sets POST data of myform
var request = YAHOO.util.Connect.asyncRequest(’POST’, sUrl, callback);
Hope this helps,
serdar
By admin on Nov 28, 2008