Learn WebDev Inc. Framework

Written something you are proud of, post it here.
Post Reply
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Learn WebDev Inc. Framework

Post by Kamal »

So, I finally decided to make my framework public and open-source.
Link:
https://github.com/LearnWebDev/Learn-WebDev-Framework
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post by jacek »

Some form of documentation would be nice.

How if anybody meant to know what this does ?
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post 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
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post by jacek »

Where is the example ? :?
Image
User avatar
Temor
Posts: 1186
Joined: Thu May 05, 2011 8:04 pm

Re: Learn WebDev Inc. Framework

Post by Temor »

jacek wrote:Where is the example ? :?
In the custom_config_file folder.
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post 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 :?
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post 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 ;)
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post 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.
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post 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.
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post 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 ?
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post 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
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post by jacek »

I still get a 404 page :?
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post by Kamal »

jacek wrote:I still get a 404 page :?
Do you have mod_rewrite installed?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post by jacek »

Kamal wrote:Do you have mod_rewrite installed?
yes.
Image
User avatar
Kamal
Posts: 123
Joined: Fri May 06, 2011 10:45 am
Contact:

Re: Learn WebDev Inc. Framework

Post 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?
User avatar
jacek
Site Admin
Posts: 3262
Joined: Thu May 05, 2011 1:45 pm
Location: UK
Contact:

Re: Learn WebDev Inc. Framework

Post by jacek »

It's one that comes with your scripts I guess, not my normal one.
Image
Post Reply