1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Using Xenforo's framework to build a site

Discussion in 'XenForo Development Discussions' started by tonjohn, Jul 20, 2011.

  1. tonjohn

    tonjohn Member

    I'm interested in building a whole website leveraging Xenforo's framework. I've worked with CodeIgniter, CakePHP, and other MVC frameworks before but Xenforo's is structured a little differently. I'm digging through the code now and trying to figure stuff out but figured I'd post here to see if anyone could steer me in the right direction.

    Would it be worth doing some tutorials on Zend Framework to better understand Xenforo's framework? Oh and are there any database naming conventions required by the framework?

    Anyone more familiar with Xenforo, maybe it is worth doing a sample problem?


    I want to add two pages:
    (1) Page where can select his top 3 animals and commit selection to DB
    (2) Page where we can view a user's top 3 animal selection (read results from DB and render view)

    For this example problem, we have already made changes to the DB including a new table "xf_users_fav_animals" with columns ufa_id, user_id, animal_rank_one, animal_rank_two, and animal_rank_three.
    Digital Doctor likes this.
  2. Panupat

    Panupat Well-Known Member

    If you already have experience with MVC frameworks, I think you should try study from some great add on that others have created. XenCarta (wiki) utilizes Xenforo's page system, might be a good one to look at.
  3. tonjohn

    tonjohn Member

    Thanks for the advice! Looking at it now.
  4. Digital Doctor

    Digital Doctor Well-Known Member

  5. Jaxel

    Jaxel Well-Known Member

    No it doesn't...

Share This Page