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 03-24-2009, 12:19 AM   #1 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Asterix Dingo Framework - ALPHA Testing Open!

Today I launched http://www.dingocode.com for my new Dingo PHP Development Framework. Right now the site is only open to ALPHA testers. If you want in on the ALPHA testing then just leave a comment here, I will then send you a PM with the user name and password to access the site.

All feedback is much appreciated!

You can also follow Dingo on twitter > http://twitter.com/dingocode
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-24-2009, 07:53 AM   #2 (permalink)
The Frequenter
Newcomer 
 
xenon's Avatar
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
xenon is on a distinguished road
Default

I believe you tried to assemble an OOP system there, but it looks like you have left all the OO concepts behind. For example, there is no abstractization. Second, every plugin and class you write - including Config?! - (you assumed) it must extend the DingoCore class, which is wrong. I'll give you an example: you want to create a logging "plugin". In that case, you would need to extend the DingoCore class, right? Well, in the case of a logging plugin, you wouldn't need the templates methods and all that stuff in the core class. That's useless overloading, thus longer loading times. Same applies to the config class. You don't need to parse templates or load models or plugins in a config file, do you? I wouldn't go there, anyway, but probably you have a different motivation and config files mean something else to you that they mean to me.

This is just a scratch of the surface, I'll probably be back with more later...
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 03-24-2009, 01:48 PM   #3 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

I built the framework with all of that in mind. Placing the core functions in the $dingo sub-class allows you to have much more freedom than having all the sub-classes extending off the controller class. Dingo is very easy to use and is very powerful. Just because it doesn't work exactly like CI, doesn't mean it is bad.

You made a lot of blind assumptions in your post, if you ever saw a real Dingo application (like a shopping system, yes I made one) then you would understand why it works the way it does.

Sometimes being strictly controlled by a concept isn't such a good thing.

Btw, you weren't supposed to be able to access the site, looks like CPanel FAILED on the authentication. OK, I fixed the authentication, only authorized users can access now.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-24-2009, 05:09 PM   #4 (permalink)
The Frequenter
Newcomer 
 
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 ETbyrne View Post
I built the framework with all of that in mind. Placing the core functions in the $dingo sub-class allows you to have much more freedom than having all the sub-classes extending off the controller class. Dingo is very easy to use and is very powerful. Just because it doesn't work exactly like CI, doesn't mean it is bad.

You made a lot of blind assumptions in your post, if you ever saw a real Dingo application (like a shopping system, yes I made one) then you would understand why it works the way it does.

Sometimes being strictly controlled by a concept isn't such a good thing.

Btw, you weren't supposed to be able to access the site, looks like CPanel FAILED on the authentication. OK, I fixed the authentication, only authorized users can access now.
Well, I never said that every library must extend the controller (why on earth would you want to do that?!), I said exactly the opposite. Second of all, I never mentioned CI, nor any other framework. You just made an assumption, which, obviously, is wrong.

Again, just to make it clear, it's not generally wrong that you extend the "core" library. It's that you "include" things that you never use. That's not the purpose of a library. At some point, that core class of yours will become larger than it is now, and all that functionality will not be required in every class you extend from it. Apart from that, the whole application will become visibly slower as its size increase if it doesn't have its base well thought.

I didn't make blind assumptions, I commented on the code I have read, and I tried to advise you as a subjective software architect. If you can't (or you don't want to) understand certain topics, then don't ask for feedback.

Your initiative is good, you just need to be more open to other people ideas (especially web developers - because they are your target).
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
xenon is offline  
Reply With Quote
Old 03-24-2009, 07:02 PM   #5 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
Well, I never said that every library must extend the controller (why on earth would you want to do that?!), I said exactly the opposite. Second of all, I never mentioned CI, nor any other framework. You just made an assumption, which, obviously, is wrong.
OK, I think I'll just have to admit that your post confused me a little. It all kinda ran together and was a little hard to decipher exactly what you where saying. For example, I have no idea what this means:

Quote:
Second, every plugin and class you write - including Config?! - (you assumed) it must extend the DingoCore class, which is wrong.

Quote:
It's that you "include" things that you never use.
Give me an example of this. The only thing that I can think of would be the MySQL settings, but that's only one small four key array. Hardly enough to bog an application down. Everything else is optional.

Perhaps you mean the routes and plugin configuration files? I could just put those in application/config/config.php but that might get a little messy. Worth a couple extra includes if you ask me.

I'm sorry if I sounded a bit rude, perhaps I should avoid responding to critical feedback while at school.

Actually I appreciate your feedback very much! Your views are a little different than my own so it kinda balances it out. If you want the user name and password to access the site (and documentation) say so and I'll PM that to ya.
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-24-2009, 07:38 PM   #6 (permalink)
The Contributor
 
tego10122's Avatar
 
Join Date: Sep 2008
Location: Miami
Posts: 39
Thanks: 7
tego10122 is on a distinguished road
Default

Can i get a alpha code?
__________________
You're Everyday Graphic Artist
Twitter|GigPark|Linked In
Send a message via MSN to tego10122
tego10122 is offline  
Reply With Quote
Old 03-24-2009, 07:40 PM   #7 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Sure thing tego!
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-24-2009, 10:32 PM   #8 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

I don't really wanna be an alpha-tester(what exactly do they do??).
However I would really love to see how it looks and see if it's worth putting my head into it. I'm about to start some projects, so I'm checking out some various frameworks.

Basicly - I wanna be alpha-tester, but not actually "bug test" the framework, if you see the difference
__________________
Tanax is offline  
Reply With Quote
Old 03-24-2009, 11:28 PM   #9 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Tanax, you can be a committed as you want. I'm not going to force anyone into giving feedback or doing intense testing. I wasn't really expecting anyone to bug-test the framework. I think that after personally building many complex websites with it I can say with confidence it is relatively bug-free. I'm mainly looking for constructive feedback on possible changes, additions, or things that should be taken out.

I'll shoot you over a user name and password right away!
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-24-2009, 11:48 PM   #10 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Is this going to remain closed source? I'd like to take a look.
Salathe is offline  
Reply With Quote
Old 03-25-2009, 02:39 AM   #11 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

I intend the Dingo Framework to remain somewhat not open source, but always free. You can look at the license page (http://www.dingocode.com/framework/other/license) and see all the details. I know, it seems like a strict license for this sort of thing, but I just can't stand the thought of someone copying my work... Happened once already.

Salathe, I'll shoot you the login information, check your PM box.

Thanks everyone for the help!
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-25-2009, 09:40 AM   #12 (permalink)
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

Can I grab a login, I'm intrigued.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote
Old 03-25-2009, 11:58 AM   #13 (permalink)
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Ouch. A vanilla install shouldn't look like this:



P.S. Where would you rather have feedback? Ideally a place where multiple people can participate and collaborate.
Salathe is offline  
Reply With Quote
Old 03-25-2009, 03:28 PM   #14 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
P.S. Where would you rather have feedback? Ideally a place where multiple people can participate and collaborate.
Right here would be fine.

@sketchMedia Sure thing, I'll send you one right away
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-26-2009, 01:51 AM   #15 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Hey everyone, just a heads up earlier today I added two new libraries/classes to the framework. A file manipulation one and an email one. They are located in the system/classes folder and can be loaded like so:

PHP Code:
$this->dingo->library('files');
// Or
$this->dingo->library('email'); 
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-26-2009, 11:21 PM   #16 (permalink)
The Addict
 
Enfernikus's Avatar
 
Join Date: Jun 2008
Posts: 335
Thanks: 2
Enfernikus is on a distinguished road
Default

shoot me a pm I'm curious

Edit:

I believe you have forgotten to include the necessary variable checks, in E_STRICT mode variables not previously set cannot be called without err.

Edit:

The post, get, files, cookies, request functions are all rather superfluous if they've no option to clean them of sql injection or xss attacks. Also, they do not check to see if the variable is actually there. This shall cause errors in certain servers.

Edit:

Is it my understanding that calling a variable within a class which has not been previously declared is slow then calling a variable which has already been declared but only by a slight ammount still it is best practice to declare variables you shall use.

Last edited by Enfernikus : 03-26-2009 at 11:56 PM.
Enfernikus is offline  
Reply With Quote
Old 03-27-2009, 01:01 AM   #17 (permalink)
WebDev'n Beer Drnkn' Fool
 
stewart's Avatar
 
Join Date: Dec 2007
Location: Denver, CO
Posts: 59
Thanks: 2
stewart is on a distinguished road
Default

I'd like to check it out :) I started to when you accidentally left it un-password protected. =D
__________________
stewart::howe
Web Developer & Programmer
CelerMedia.Com | iAmStewart.com | CelerLabs.com
Send a message via ICQ to stewart Send a message via AIM to stewart Send a message via MSN to stewart Send a message via Yahoo to stewart
stewart is offline  
Reply With Quote
Old 03-27-2009, 02:09 AM   #18 (permalink)
how quixotic are you?
 
ETbyrne's Avatar
 
Join Date: Dec 2007
Location: Lapeer, MI
Posts: 445
Thanks: 37
ETbyrne is on a distinguished road
Default

Quote:
I believe you have forgotten to include the necessary variable checks, in E_STRICT mode variables not previously set cannot be called without err.
Good catch, will do.

Quote:
The post, get, files, cookies, request functions are all rather superfluous if they've no option to clean them of sql injection or xss attacks. Also, they do not check to see if the variable is actually there. This shall cause errors in certain servers.
Those functions are there for forward compatibility, in other words I'm planning on adding xss filtering or something of the sort in the future.

Quote:
Is it my understanding that calling a variable within a class which has not been previously declared is slow then calling a variable which has already been declared but only by a slight ammount still it is best practice to declare variables you shall use.
OK, I'll see about that. I've developed a bad habit of not declaring variables in classes. Do you mean in the controller functions, or just in general?

Quote:
I'd like to check it out :) I started to when you accidentally left it un-password protected. =D
Sure thing
__________________
Dingo Web Systems > http://www.dingocode.com
My Website > http://www.evanbot.com
ETbyrne is offline  
Reply With Quote
Old 03-29-2009, 03:23 AM   #19 (permalink)
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

I wouldn't mind to have a look and see I can spot anything the others havn't, if you could email me the login it would be faster as I check my email more offen than my pm inbox here =D

kalle at php dot net
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 03-29-2009, 01:46 PM   #20 (permalink)
The Prestige
Upcoming Programmer Inquisitive 
 
Tanax's Avatar
 
Join Date: Sep 2007
Location: Sweden, Stockholm
Posts: 1,080
Thanks: 115
Tanax is on a distinguished road
Default

Quote:
Originally Posted by Kalle View Post
I wouldn't mind to have a look and see I can spot anything the others havn't, if you could email me the login it would be faster as I check my email more offen than my pm inbox here =D

kalle at php dot net
Offtopic- How did you get @ php . net mail?
__________________
Tanax 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for partner(s) for open source framework Scottymeuk General 4 02-06-2009 12:05 AM


All times are GMT. The time now is 02:21 AM.

 
     

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