Cabbits free for all.

Discussion in 'Web Design and Development' started by Cabbit, Mar 17, 2010.

  1. Cabbit macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #1
    [​IMG]
    Cabbit Framework

    Ok for anyone interested my Cabbit Framework is free for all here, there have been a few lovely folks i have met over the last year that have donated code and such which i have rewritten and cobbled together.

    This is intended as a preview only and is under heavy development.
    I would love to hear of any bug fixes, suggestions, comments, critics, other 3rd party classes you have to donate.

    The process of donating a 3rd party class is that if it becomes a library class it has the heading like the rest with a optional source_licence_endorcement_thanks.txt file in the folder to attribute work.

    The framework base started out as a tutorial that is no longer in my bookmarks so once i find it i would like to put in a link.


    There are some things i would love to know how to do like writing a error log file. So if you have any links to helpful tutorials please post them here.

    Also my old college lecturer is guiding me though the process of writing a generator script with the UNIX Bourne Shell so that will be interesting.

    And i am in the middle of shoe horning in Jacques Fuentes Active Record class at the moment for the models, well i have not even started yet it looks kinda daunting.

    One of the important processes i go with when a 3rd party class is offered is to assimilate, evaluate, then rewrite to understand it fully, this is still a learning project primarily and i am hoping to learn as much as i can from both the code i write and that others provide.
     
  2. sanPietro98 macrumors 6502a

    sanPietro98

    Joined:
    May 30, 2008
    Location:
    28.416834,-81.581214
    #2
    I don't see any documentation or even a README file.

    What does your framework do? I'd like to read about it.
     
  3. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #3
    Hmm documentation would be a good start.

    Well lets see, i'll write some documentation for the simplest site first then once the active record is working i'll write documentation for a data driven site.

    Check back soon, i had never fought of writing any documentation.
     
  4. sanPietro98 macrumors 6502a

    sanPietro98

    Joined:
    May 30, 2008
    Location:
    28.416834,-81.581214
    #4
    But until then, can you describe briefly what the Cabbit Framework is, and what functions it provides? Thanks.
     
  5. Bostonaholic macrumors 6502

    Bostonaholic

    Joined:
    Aug 21, 2009
    Location:
    Columbus, Ohio
    #5
    I like your logo.

    I wouldn't mind getting involved in development. I'm getting involved in several open source projects around the web so I'd be happy to lend a helping hand. As mentioned above, let's start with some documentation and go from there. Possibly setup bug-tracking, wiki, google code (or other repository) to allow users to check-out the source and modify into a branch.
     
  6. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #6
    My next big task is getting http://www.phpactiverecord.org/ i have permission from the author to integrate this into Cabbit and its already in the file structure just don't know yet how to hook it up.

    I do know i need to change some defaults as it currently extends ActiveRecord\Model, where i would like it to well be more Cabbit i guess its just silly but it makes sense when you look at say a Zend model.
     
  7. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #7
  8. Cromulent macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #8
    Good job. I would suggest you host the source code on a source code site such as Google Code or Github and make sure to use a source code control system (depending on which one is supported on the site you choose). This will mean other developers will actually bother contributing code back to the project.

    I don't do PHP development but it is always good seeing people from MR releasing stuff :). Good luck.
     
  9. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #9
    Ok so what are these code repository things?
    How do i post my Cabbit on one?
    And can they integrate with netbeans so i press a button and hey presto sub versioning and code is synced?
     
  10. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #10
    I haven't created a Google Code project, but use one. Creating it is simple and uses either Mercurial or Subversion for version control. It should work with NetBeans since it's a normal SVN type setup. I haven't used Github, but it looks promising too.
     
  11. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #11
    Seems the new toy i was wanting to integrate is a no go.
    The PHP Active Record class uses Namespace and perhaps other PHP 5.3 functions. I don't know of any web hosts that support this just yet nor does my local mamp installation.
     
  12. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #12
    Well for github i have it set up kinda here http://github.com/Cabbit/Cabbit-Framework

    But when i try to git push origin master i get a horrid error message.

    ssh: Could not resolve hostname gitbub.com: nodename nor servname provided, or not known
    fatal: The remote end hung up unexpectedly
     
  13. Bostonaholic macrumors 6502

    Bostonaholic

    Joined:
    Aug 21, 2009
    Location:
    Columbus, Ohio
    #13
    I'm going to go out on a limb here and say your ssh failed because you mispelled github.com
     
  14. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #14
    Download and install Git
    git config --global user.name "Cabbit"
    git config --global user.email cabbit@cabbit.co.uk

    Next steps:
    mkdir Cabbit-Framework
    cd Cabbit-Framework
    git init
    touch README
    git add README
    git commit -m 'first commit'
    git remote add origin git@github.com:Cabbit/Cabbit-Framework.git
    git push origin master

    Word for word how i set it up
     
  15. Nermal Moderator

    Nermal

    Staff Member

    Joined:
    Dec 7, 2002
    Location:
    New Zealand
    #15
  16. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #16
    There copy pasted exactly from the github website and my terminal.
     
  17. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #17
    Hmm i think i worked it out, anyone know how to work out what my ssh key is?
     
  18. angelwatt Moderator emeritus

    angelwatt

    Joined:
    Aug 16, 2005
    Location:
    USA
    #18
    Do you mean, how do you generate a SSH key pair?
     
  19. NoNameBrand macrumors 6502

    Joined:
    Nov 17, 2005
    Location:
    Halifax, Canada
    #19
    If you've generated a key pair, it'll be something like ~/.ssh/id_dsa.pub
     
  20. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #20
    ^_^() this mite be the broken part since i just left it blank for now.
     
  21. NoNameBrand macrumors 6502

    Joined:
    Nov 17, 2005
    Location:
    Halifax, Canada
    #21

    Code:
    $ ssh-keygen -t dsa
    
    Accept the default location, and you probably don't want a passphrase on it. There are other options for the type, if it matters.
     
  22. Cabbit thread starter macrumors 68020

    Cabbit

    Joined:
    Jan 30, 2006
    Location:
    Scotland
    #22

Share This Page