Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post

    Testers required

    I've been writing up a nice AJAX/PHP5 database utility (think phpmyadmin on steroids) and it's starting to actually look like something and I've squashed all the major bugs I've managed to find.

    This is my first PHP5 application (decided it's been long enough since apache2 and php5 first hit the streets to upgrade) so I'm hoping I've done things the right way, and not missed any new facilities provided in substitute for old.

    So if you have a sound knowledge of PHP5, especially objects and OOP design principles (this entire application roles out from a singleton style class directly from entry point- just to confuse you youngsters) reply here and I'll get in contact with you with more information.

    Thanks.

    [edit:] Didn't specifically state that I'm looking for people to go through my code not just play with the application.
    Last edited by Mhtml; 02-06-2007 at 04:22 PM.
    Omnis mico antequam dominus Spookster!

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    I'm having flashbacks of the shoutbox incident.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    lol I've learnt my lesson from that incident my lord. But just to be sure I'm going to go back over the relevant code, don't want you running around spoofing and injecting stuff again.
    Omnis mico antequam dominus Spookster!

  • #4
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    I'll look at the code if you want. My primary experience is in MVC, but I get the gist of major patterns. The singleton sounds kind of sketchy

  • #5
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Great! I'll PM you within the next few days with a bit more info, just sorting out a few glitches I found and writing an installer. I'm thinking about moving the database abstraction class to mysql 4.1+ specific code, hope this is fine for you? I may just write a separate abstraction class and it can be changed with a factory based on configuration settings...

    Any thoughts?
    Omnis mico antequam dominus Spookster!

  • #6
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    This sounds interesting.
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #7
    Senior Coder
    Join Date
    Sep 2005
    Posts
    1,791
    Thanks
    5
    Thanked 36 Times in 35 Posts
    how well abstracted is the db layer? Would swapping in a replacement class for postgres 'just work' do you think, or would it be a big task? I'd be interested to see how easy that would be (and I'd make such a replacement if it proved to fit in easily...), as a decent postgres admin app is appealing...
    My thoughts on some things: http://codemeetsmusic.com
    And my scrapbook of cool things: http://gjones.tumblr.com

  • #8
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Quote Originally Posted by GJay View Post
    how well abstracted is the db layer? Would swapping in a replacement class for postgres 'just work' do you think, or would it be a big task? I'd be interested to see how easy that would be (and I'd make such a replacement if it proved to fit in easily...), as a decent postgres admin app is appealing...
    I was just writing about that in the testers documentation just this minute.. Weird timing.

    It is abstracted completely, plugging in a new class would "'just work'". At first I wasn't planning to support more than MySQL, but after writing my last post I decided I wouldn't limit the application and, will write several database adapters (MySQL for 4, MySQLi for 4.1+, PostgreSQL (not sure what version minimum yet) and possibly MSSQL (if I get time, I don't care for MSSQL at all)).

    [edit:]
    Quote Originally Posted by GJay
    I'd make such a replacement if it proved to fit in easily
    Well if you would like to take a peek at the code when I release it to test I'll contact you and you can have a go at implementing it if you would like. A bit of collaboration never hurt anyone.
    Last edited by Mhtml; 02-07-2007 at 08:00 PM.
    Omnis mico antequam dominus Spookster!

  • #9
    teh Moderatorinator
    Join Date
    Sep 2004
    Location
    USA
    Posts
    2,472
    Thanks
    4
    Thanked 40 Times in 40 Posts
    marek could try to put in his database class to see if that works

  • #10
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well it's not just a matter of plugging in a new class. You'll have to write a new class based on my pattern.

    My pattern is such that there is a database class which handles the connection and produces query objects. Query objects, query the database (obviously) and handle result data sets.

    These query objects are passed around and deleted when they go out of scope unless otherwise specified, in which case they're tagged and stored till either the database class is destroyed or they are explicitly destroyed.

    [edit:] I'm also thinking of serializing and storing query objects as sort of a timed cache for subsequent access.
    Last edited by Mhtml; 02-07-2007 at 08:26 PM.
    Omnis mico antequam dominus Spookster!

  • #11
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    How large is the source base? If you want people to look over the code that's kinda important

  • #12
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    Quote Originally Posted by Brandoe85 View Post
    marek could try to put in his database class to see if that works
    I could tweak it for the occasion.

    Show us the code!
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #13
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    How large is the source base? If you want people to look over the code that's kinda important
    How so? It's of no relevance. I doubt anyone who is serious in contributing to a decent project would really care... It's not like I'm giving an hour to do it or anything.

    However, as it stands:

    The basic API I'll be releasing to run through (in this release) consists of probably a touch over 1500 odd lines of OO PHP. The meat of this application lies in the client side, the PHP is just a interface between the database and the Javascript. This application is designed to be a visually interactive one. Web 2.0 and all that jargon. I am only releasing the development version of the client side in this test though, there are several *top secret* ideas relating to the interactive side that I'm not releasing until they're perfected and licensed appropriately.

    I could tweak it for the occasion.

    Show us the code!
    In good time, I have to finish writing up these docs otherwise you'll have no idea where to start and what I'm wanting of you exactly.
    Last edited by Mhtml; 02-07-2007 at 08:54 PM.
    Omnis mico antequam dominus Spookster!

  • #14
    Senior Coder gsnedders's Avatar
    Join Date
    Jan 2004
    Posts
    2,340
    Thanks
    1
    Thanked 7 Times in 7 Posts
    Quote Originally Posted by Mhtml View Post
    How so? It's of no relevance. I doubt anyone who is serious in contributing to a decent project would really care... It's not like I'm giving an hour to do it or anything.
    Nobody, no matter how good a project is, has infinite time to contribute.

  • #15
    Senior Coder Mhtml's Avatar
    Join Date
    Jun 2002
    Location
    Sydney, Australia
    Posts
    3,531
    Thanks
    0
    Thanked 1 Time in 1 Post
    Well duh, this is a database administration tool not a genetic sequence analysis program. I'm not even releasing the entire source base just a small piece of it that I want double checked because that is where bottlenecks, if any, will appear...

    Even so vbulletin can be read through in a day if you wanted! Honestly, what are you thinking?! Your remarks are completely redundant, they usually are.

    Are you on crack or something? Stop trying to be so damn analytic and critical of something when the answer is already so damn obvious.

    This is what I do in my free time, I don't have the luxury of being 14 and my parents doing everything for me with absolutely no responsibilities at all weighing me down. Ridiculously redundant posts like that are a waste of my free time.

    If you are not fluent in PHP5 and accomplished in OOP design and practices then there is no real reason to be posting in this thread. I don't have the time to baby sit you.

    If you have absolutely nothing useful to contribute, don't post in here again please. It's a fair enough request.
    Omnis mico antequam dominus Spookster!


  •  
    Page 1 of 2 12 LastLast

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •