RSS 2.0
Browse posts:
Unanswered |
Mark all read
| Author | Message | ||||
|---|---|---|---|---|---|
|
moraes Nucleus Guru ![]() Joined: 23 Dec 2001 Posts: 2399 Location: Curitiba, Brazil |
Nice improvements! Cleaner code is always welcome. Here's a tip to deal with arrays. Arrays in PHP have their own loop iterator, "foreach". So this would be even cleaner:
No need to count the array anymore. There are cases when you need to check if the argument provided is an array before use foreach, but this is not one of them. moraes _________________ tipos.com.br | smalltalking.com |
||||
|
|
|||||
|
gRegor Nucleus PhD Joined: 14 May 2002 Posts: 715 Location: Indianapolis, IN USA |
Good call. _________________ gRegor "Live free or die; death is not the worst of evils." .. John Stark |
||||
|
|
|||||
|
matt_t_hat Nucleus Geek Joined: 21 Aug 2005 Posts: 1124 Location: UK |
Astounding work. This is something that is both important and necessary. A virtual pat on the back for this effort. _________________ Host Plugins | Blog | Hundred Quid A Day | My Big Fat Arse |
||||
|
|
|||||
|
moraes Nucleus Guru ![]() Joined: 23 Dec 2001 Posts: 2399 Location: Curitiba, Brazil |
I've done some cleanup today, separating important classes that were sharing the same space: - ITEMACTIONS from BLOG.php to its own file; - ACTIONS from SKIN.php to its own file; - COMMENTACTIONS from COMMENTS.php to its own file; - BaseActions from PARSER.php to its own file; Some lost functions from the end of file BLOG.php were moved to globalfunctions (it is commented in the end). Also, MANAGER::getInstance() now returns a true singleton. m. _________________ tipos.com.br | smalltalking.com |
||||
|
|
|||||
|
gRegor Nucleus PhD Joined: 14 May 2002 Posts: 715 Location: Indianapolis, IN USA |
Awesome! I saw your message before you edited it (I think it was this one?), sorry for the goof-up with install.php in CVS. I'll do updates in smaller batches. _________________ gRegor "Live free or die; death is not the worst of evils." .. John Stark |
||||
|
|
|||||
|
moraes Nucleus Guru ![]() Joined: 23 Dec 2001 Posts: 2399 Location: Curitiba, Brazil |
Yes, it was. I thought after I posted it could be misunderstood and it would be better to talk to you personally. But then I haven't saw you on ICQ and couldn't find an e-mail on your site. m. _________________ tipos.com.br | smalltalking.com |
||||
|
|
|||||
|
gRegor Nucleus PhD Joined: 14 May 2002 Posts: 715 Location: Indianapolis, IN USA |
Heh, I'm hardly ever on ICQ and yeah... need to get the new version of my site finished up. _________________ gRegor "Live free or die; death is not the worst of evils." .. John Stark |
||||
|
|
|||||
|
gRegor Nucleus PhD Joined: 14 May 2002 Posts: 715 Location: Indianapolis, IN USA |
I've hardly been around the Nucleus development community this semester due to busyness, but now that the semester is over I have a bit more free time and was wondering what the status of this is... should I keep working on this? From the sounds of it a lot of the CORE classes have been rebuilt. I guess I should just checkout the latest code and see what we've got going on. _________________ gRegor "Live free or die; death is not the worst of evils." .. John Stark |
||||
|
|
|||||
|
moraes Nucleus Guru ![]() Joined: 23 Dec 2001 Posts: 2399 Location: Curitiba, Brazil |
gRegor, you are *very* welcome back to your project! As you may have noticed, we've changed from CVS to SVN, and the trunk is no more the focus (right now). Make a checkout of the Subversion repository, go to /branches/NewAdminArea and take a look. Most of the new methods added to the traditional classes (from ADMIN.php) are already documented and formatted, but still there are *a lot* to do. I'll move the branch to the trunk this week (Legolas merged both, and he is now travelling in Italy), and make it usable (it is not right now), but you'll know when it is done. cheers! moraes _________________ tipos.com.br | smalltalking.com |
||||
|
|
|||||
|
gRegor Nucleus PhD Joined: 14 May 2002 Posts: 715 Location: Indianapolis, IN USA |
I'm back at this... at least momentarily. bookmarklet, forgotpassword, xml-rss just done. nothing major, but I'm working my way through the file structure. _________________ gRegor "Live free or die; death is not the worst of evils." .. John Stark |
||||
|
|
|||||
|
All times are GMT + 1 Hour
You cannot post new topics in this forum |
|||||