Page 1 of 1

Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 6:26 pm
by Kamal
So, I finally decided to make my framework public and open-source.
Link:
https://github.com/LearnWebDev/Learn-WebDev-Framework

Re: Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 6:59 pm
by jacek
Some form of documentation would be nice.

How if anybody meant to know what this does ?

Re: Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 7:35 pm
by Kamal
jacek wrote:Some form of documentation would be nice.

How if anybody meant to know what this does ?
i know but i didnt have enough time to put documentation so i put an example of using it

Re: Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 7:40 pm
by jacek
Where is the example ? :?

Re: Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 7:44 pm
by Temor
jacek wrote:Where is the example ? :?
In the custom_config_file folder.

Re: Learn WebDev Inc. Framework

Posted: Mon May 30, 2011 9:26 pm
by jacek
Temor wrote:In the custom_config_file folder.
Where in that folder ?

All I see is a load of folders, browsing to the folder gives two php errors :?

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 10:14 am
by Kamal
jacek wrote:
Temor wrote:In the custom_config_file folder.
Where in that folder ?

All I see is a load of folders, browsing to the folder gives two php errors :?
Download them, read the README (which tells you what to change).
It is an example and a tool to help you customise/configure the framework. Like a 2-in-1 thingy ;)

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:00 am
by jacek
In config.php I changed the define to this.
define( 'INCLUDE_PATH', implode('/', array_slice(explode('/', __FILE__), 0, -2)) . '/' );
But that is the ROOT_URL meant to be ?

all I can get is a 404 page.

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:06 am
by Kamal
jacek wrote:In config.php I changed the define to this.
define( 'INCLUDE_PATH', implode('/', array_slice(explode('/', __FILE__), 0, -2)) . '/' );
But that is the ROOT_URL meant to be ?

all I can get is a 404 page.
You can fork it and change the files you want then do a pull request :)

The root directory of the URL.

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:12 am
by jacek
Kamal wrote:You can fork it and change the files you want then do a pull request :)
I mean with my local copy I am trying to get to do something.
Kamal wrote:The root directory of the URL.
Which is ... ?

For http://192.168.1.10/thing/index.php I should enter '/thing/' there ?

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:13 am
by Kamal
jacek wrote:
Kamal wrote:You can fork it and change the files you want then do a pull request :)
I mean with my local copy I am trying to get to do something.
Okay
jacek wrote: Which is ... ?

For http://192.168.1.10/thing/index.php I should enter '/thing/' there ?
Exactly

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:16 am
by jacek
I still get a 404 page :?

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 11:18 am
by Kamal
jacek wrote:I still get a 404 page :?
Do you have mod_rewrite installed?

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 12:21 pm
by jacek
Kamal wrote:Do you have mod_rewrite installed?
yes.

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 1:34 pm
by Kamal
jacek wrote:
Kamal wrote:Do you have mod_rewrite installed?
yes.
Weird... Check the .htaccess. Is the 404 error the normal apache one or a 'custom' one?

Re: Learn WebDev Inc. Framework

Posted: Tue May 31, 2011 4:35 pm
by jacek
It's one that comes with your scripts I guess, not my normal one.