TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-16-2009, 04:08 PM   #41 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

OOoooohhh, so it needs to be have Action affixed I must have glanced over that in the documentation.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 06-16-2009, 04:40 PM   #42 (permalink)
The Frequenter
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

It's written right here
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 06-16-2009, 05:56 PM   #43 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

Ah perfect, alas I already started my project I couldn't wait so I downloaded Kohana but I have a project immediately afterward which I'll use this for! I'll probably post libraries and the like here so you can take them as contributions when ever you like.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 06-29-2009, 06:39 PM   #44 (permalink)
The Frequenter
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Hey guys. How's it been going? There were some guys here who said would use the platform for they're next projects and see how it goes :) So? How did it go? :D

I've been working on coding the final release of the platform these weeks. I think it looks great, at a glance. Here's what's to be expected from the final release:

- a redesigned, better core engine - Application changed to System and the filesystem structure was redesigned, perfectly separating the programmer's configs from the system core (no longer direct edit Controller.php)
- introducing modules with separate init files (subsystems I call them), and separate controllers
- developer's features and template enhancements:
- profilers (sql profiler, code speed profilers - kind of breakpoints for measuring the speed of the script in the delimited portion)
- fully driven exception system (which also haves a profiler for showing the exceptions collected during the life of the module, along with expanded information about the file and line called which method, and with what parameters, including the actual values you sent to that specific method); you will be able to enable all profilers or none through a custom request (perhaps appending a get parameter, like a secret key - so you can trigger it both when you're developing, enabling the 'development' stage in defs.php, and check also for your IP - more support with Utils::isDeveloper())
- less constants, more methods for fetching various data - like methods for getting the css url using the Links helper, or such
- much more simple core controller blueprint - enhancing the performance of the script
- layouts: a more stable, flexible, while at the initial glance extremely simple, templates structure and template building methods (also the templates helper has been updated to be able to control the position of the javascript scripts - top and bottom of page)
- possibly object triggers

I'm planning on releasing this final version in about 2 months from now, so I can finish the new docs and make the changes to the website.

Please tell me what you think. Thanks.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.

Last edited by xenon : 06-30-2009 at 10:31 AM.
xenon is offline  
Reply With Quote
Old 07-17-2009, 02:59 AM   #45 (permalink)
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

Sounds good xenon :)

-Cf
codefreek is offline  
Reply With Quote
Old 07-19-2009, 07:11 AM   #46 (permalink)
The Contributor
 
russellharrower's Avatar
 
Join Date: Jul 2009
Posts: 80
Thanks: 13
russellharrower is on a distinguished road
Default

Ok my quick question, how would i use this code, with my CMS that I am designing, I see the code, and it looks neat, however there is alot of code i want to edit, change and add.
I see there is no admin area, that far as this is just a framework, and I have to build on the top of it.

I am still very new to this whole OO thing, and there is no university's that tech OO over here in Melbourne (and we are meant to be the web capital of Australia)

Any help would be nice.

Also I get this http://www.designvisa.com/beta/webgear/index.php
The requested controller could not be found(Beta)!

Is that error!?

Last edited by russellharrower : 07-19-2009 at 07:12 AM. Reason: added notes
russellharrower is offline  
Reply With Quote
Old 07-19-2009, 04:41 PM   #47 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

If you have a CS department their courses most definitely teach Object Oriented Concepts. It's just...WRONG not to teach it.
__________________
My Blog
Enfernikus is offline  
Reply With Quote
Old 07-19-2009, 05:22 PM   #48 (permalink)
The Frequenter
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

Quote:
Originally Posted by russellharrower View Post
Ok my quick question, how would i use this code, with my CMS that I am designing, I see the code, and it looks neat, however there is alot of code i want to edit, change and add.
I see there is no admin area, that far as this is just a framework, and I have to build on the top of it.

I am still very new to this whole OO thing, and there is no university's that tech OO over here in Melbourne (and we are meant to be the web capital of Australia)

Any help would be nice.

Also I get this http://www.designvisa.com/beta/webgear/index.php
The requested controller could not be found(Beta)!

Is that error!?
That error is caused by a wrong BASE_URL setting. Go to /includes/config/, open defs.php and find the line which says:

PHP Code:
define('BASE_URL' 
If I'm not wrong, it should be:

PHP Code:
define('BASE_URL''http://' $_SERVER['SERVER_NAME'] . '/beta/webgear/'); 
for your specific server. Your code will go into controllers. For the admin, I, for example, am using a separate controller, which extends the default one, and forces authentication. Then, all admin controllers extend that controller, hence having to be authenticated to use that area.

I've attached the sample for an admin "plugin", so that you can get a better idea of how to create an administration panel on top of this framework. Just unzip the attached archive into your /webgear/ directory. You must then configure the authentication. Look into includes/controllers/admin/ (controller.php and login.php files) for database customizations and such.
Attached Files
File Type: zip admin.zip (6.5 KB, 3 views)
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:09 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design