Activity Stream
48,167 MEMBERS
62541 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Page 3 of 5 FirstFirst 12345 LastLast
Results 21 to 30 of 41
  1.     
    #21
    Member
    Website's:
    tehMoviez.com 0Senes.com GeekFaceGames.com
    i like the fact that it uses all new php standards.

  2.     
    #22
    Respected Developer
    Website's:
    X4B.org
    Thanks. Oh and if anyone wants a specific section commented, I will quite happily do a quick run over and do some docblocks. Im just going through fairly randomly at this stage.

  3.   Sponsored Links

  4.     
    #23
    Member
    Website's:
    bypassx.com
    I?m not the most skilled php coder ... and i?m little lost, never used a Framework before and i have some questions.

    Wich is minimun php version required by the framework?

    I downloaded the framework and the blog example. Now should i put framework files combined with blog files?

    I see lots of files ".project" , ".buildpath", etc... a folder named ".settings".
    All those files are trash and can be deleted correct?

    Sorry for those dumb questions, i?m trying to understand how to work with the framework and perhaps give a hand with bug reporting, documentation, etc... but first i need to understand how to work with the framework.

    And while i writing previous lines arrived to my head one idea, perhaps supply the most basic help to start is good (before enter in advanced documentation):
    - Installation guide.
    - Hello world example.

    And i was searching a little on google about PHP frameworks, and a i have new question, which advantages have this framework over competitors (codeigniter,Yii, etc...)? (i?m speaking about advantages different of open source and free).

    Thanks in advance for your atention.

  5.     
    #24
    Respected Developer
    Website's:
    X4B.org
    Minimum PHP version: 5.3.3
    MySQL requires the innodb engine to be enabled. Basic MyIsam support is complete but its not as stable.

    .project, .buildpath and .settings are part of Zend Studio and only needed if you use that IDE. For execution and for other users these can be ignored or deleted.

    1. To install radical blog download radical php
    2. Then copy radical blog into the same folder (overwriting and merging)
    3. You will also need to import the SQL
    4. Then edit the app/config.php
    The line you need to edit is
    Code: 
    $_SQL = new Model\Database\DBAL\Adapter\Connection('db', 'root', 'passwordmysql', 'radical_blog');
    I have packaged a version for you with steps 1 and two completed. https://dl.dropbox.com/u/62365823/ra...l-preview3.rar
    I havent had a chance to test this specific package, but it looks right. If you have problems ill install it on my testing server. I expect there may be problems with relative site roots, Im not sure if that code is complete yet (e.g putting it in a folder like /radicalblog).

    radical-blog will take the place of one of the more advanced examples
    radical-monitor will be a moderate one (showing off mostly command line stuff)
    radical-myip is what I plan to make into the first beginner tutorial. I expect alot more applications suitable for examples will be made by other users when this takes off.

    While these apps are simple designs to develop once you know what you are doing (and they also so serve as a tool for me to figure out what I can improve in the framework) it takes alot of time for me to make them perfect examples and comment them etc.

    The framework is probably most similar to django or lithium, but really its unique. Its everything Ive wanted in 10 years of programming but never been able to find (or hasnt been possible in the past -- e.g real OOP)

    Neither an Installation guide or a Hello world example have been written as the framework isnt ready for beginners yet (atleast not unassisted to get over the initial hurdle of lack of documentation). Although writing these documents is probably something a contributor (Ive been hoping to find some helpers for a while) could do.

    I personally love inline (phpdoc) documentation, which then is parsed out to form the basis of documentation (e.g like php or jquerys function reference), thats why I am focusing on in code documentation first.

    EDIT: Oh and just be aware this is beta software, I just noticed that some SQL builder changes have the search subsystem.

    If you cant get it to work it may be due to a fault in the code (its been mostly tested on linux and in semi professional - professional setups (never on XAMPP etc)) so I fully expect there will be bugs... its alpha and pre-stable (1.0.0 will be the first stable)

    EDIT2: Fixed the search bug (which also affected categories and tags), simple one line fix so I re-uploaded.

  6.     
    #25
    Member
    Hi,
    I don't know if you have included any prepaired sql statements mechanism in your framework but if not you may add something like this.

  7.     
    #26
    Respected Developer
    Website's:
    X4B.org
    Currently I havent added Prepared statements (they will probably be added for those who like them in the future). This is mostly because it is rare that we access the database directly (you could write without knowing anything but basic SQL). Two current interfaces (other than direct database querying).

    1. Query Building
    Code: 
    $sql = $this->logTable->select('log_id,log_status,log_to')
                 ->where(array('host_id'=>$host->getId()))
                 ->order_by('log_to','DESC')
                 ->limit(1);
    //or for update etc
    $sql = $this->logTable->update()
                 ->where('log_id',$row['log_id'])
                 ->set('log_to',\DB::toTimeStamp(time()));
    //also this can be done directly on non modeled tables using DB::Select();
    Source: radical-monitor log plugin

    2. Models
    Code: 
    $user = \X4B\DB\User::fromId(1);
    $user->setName('admin');
    $user->Update();
    
    //or
    
    $users = \X4B\DB\User::getAll();
    
    //and / or
    $users->sql->where('user_username','tester');
    
    foreach($users as $user){
        echo $user->getEmail(),'<br />';
    }
    Source: Top of my head.


    Personally I dont think prepared statements are necessary when we provide query builders, these builders are SQL injection proof btw. The only benifit to using prepared satements is probably performance, and for that we will probably add it.

  8.     
    #27
    Member
    Well people with limited knowledge wont even make use of this, but for more "serious" programming i think this is a must.
    I haven't seen the sql builder yet so i don't know how does your code prevent sql injections, especially for example when there is multibyte chars involved!

  9.     
    #28
    Respected Developer
    Website's:
    X4B.org
    mutibyte chars arent an issue, mysql_real_escape_string handles escaping in the database's character encoding. The database subsystem makes up around 1/3 of all of the code, its very well developed.

    ActiveRecord and ORM implementations are industry standard now days, they are amazing (e.g Doctrine -- but its overly bloated), SQL builders are secure since you never deal with strings.

  10.     
    #29
    (╯?□?)╯︵ ┻━┻
    Website's:
    Xenu.ws WarezLinkers.com SerialSurf.com CracksDirect.com
    only just saw this.

    not bad, looks like you've done a good job.
    though there are endless amounts of frameworks out there, many under far heavier development than yours (meaning more features, support, documentation, everything).

    its good to make your own to learn, but difficult to have any benefit over any other framework. personally I use kohana these days.

    overall though, good job, had a look at the code and its pretty good. keep it up
    Projects:
    WCDDL - The Professional DDL Script
    Top Secret Project: In Development - ZOMG
    ImgTrack - Never Have Dead Images Again!

  11.     
    #30
    Respected Developer
    Website's:
    X4B.org
    First of all thanks, while I acknowledge that there are tons of large frameworks out there (and that was the main reason it took me a year before I even posted this publicly) I dont believe this is a reason to not develop new ones. I don't think there is any framework out there that meets the same criteria or style of this framework. And while we are underdocumented, supported etc we are a very young project which much to go (I dont expect a stable release until atleast a year from now). I definitely understand the size of this project, It was initially quite a deterant to the undertaking but none the less here we are in early alphas.

    This framework shares alot of common features with Kohana, in fact it even includes a modified version of the Arr class from it. I have used Kohana extensively for work, howeaver it has alot of faults (overriding order of system>modules>app is the major one, resulting in large app small module development instead of the more efficient modular pattern). If you think a feature is missing you are quite welcome to fork and write them in, or improve existing ones. I do pull from forks where the work is up to par.

    Also be careful stating the features argument, I think you would be surprised at the number of features complete, most aren't documented yet and as such are unknown to most people.

    Basic documentation is certainly high on the priority list, Its one of the 0.2.x milestones to complete basic documentation for most user facing classes. The other main milestone is bugfixes, we all know how fun bug hunting is.

Page 3 of 5 FirstFirst 12345 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. php-APP - Easy php APP framework
    By devNULL in forum Web Development Area
    Replies: 1
    Last Post: 17th Apr 2012, 05:14 AM
  2. can't install .NET Framework 4
    By Jiung in forum Technical Help Desk Support
    Replies: 3
    Last Post: 4th Apr 2012, 03:17 PM
  3. Genesis Framework - WP help.
    By BattleDuty in forum Wordpress
    Replies: 6
    Last Post: 20th Dec 2011, 05:34 PM
  4. Run .net framework app without it
    By pankaj in forum Web Development Area
    Replies: 12
    Last Post: 11th Jul 2010, 12:27 PM
  5. Drupal Best php Framework
    By shakiljavid in forum Tutorials and Guides
    Replies: 7
    Last Post: 17th Jun 2009, 02:15 PM

Tags for this Thread

BE SOCIAL