Ticket #57 (closed Feature Request: wontfix)

Opened 13 years ago

Last modified 12 years ago

Use PHP5's autoload function to include files

Reported by: MaxHorvath Owned by: max-horvath
Priority: lowest Milestone: WifiDog Auth Server 1.0
Component: Auth server, Code Refactoring Version: Auth Server SVN
Keywords: Cc:

Description

We should switch to use the autoload() function of PHP 5.

This will result in much less includes and requires, less used resources (files wont be loaded if no function of its classes are called) and will give WiFiDog more speed.

Change History

Changed 13 years ago by anonymous

  • owner changed from MaxHorvath to anonymous
  • priority changed from 4 to 5
  • status changed from new to assigned

Changed 13 years ago by MaxHorvath

  • owner changed from anonymous to MaxHorvath
  • status changed from assigned to new

Changed 13 years ago by fproulx

Looks pretty nice ! :-) But it would only work on Classes, but that's pretty good.  http://ca3.php.net/autoload

Changed 13 years ago by max-horvath

  • owner changed from MaxHorvath to max-horvath
  • status changed from new to assigned

I'll be trying to see what I can do ...

I think it'll be worth even though it only works for classes - but as we're doing a lot of re-inclusions in classes this should speed up execution ;) ...

Changed 13 years ago by benoitg

  • priority changed from normal to lowest
  • version For 1.0 deleted
  • milestone WifiDog Auth Server 1.0 deleted

Changed 13 years ago by max-horvath

  • status changed from assigned to closed
  • version set to Auth Server SVN
  • resolution set to wontfix
  • milestone set to WifiDog Auth Server 1.0

Well, I'll quit on trying to do that as it doesn't male much sense at the moment ...

Changed 12 years ago by benoitg

  • component changed from Auth server: Code Refactoring to Auth server, Code Refactoring
Note: See TracTickets for help on using tickets.