1. #1
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    581
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default Bancha - Seamlessly integrate with CakePHP

    Bancha - Seamlessly integrate with CakePHP





    Bancha integrates ExtJS 4 and Sencha Touch with the light-weight PHP-MVC-­Framework CakePHP 2.

    Basically it:

    • handles all communication between server and client
    • shares all Schema and validation rules in CakePHP with ExtJS/Sencha Touch
    • enables asynchronous and batched request to the server
    • automatically implements CRUD for all remotable cake models
    • is well-tested with PHPUnit and Jasmine



    For ExtJS & Touch Developers

    Bancha provides a simple interface to create models. These models get all fields, validations and associations and a fully configured proxy from the server.

    Just use Bancha.onModelReady('User', callback); and Bancha does the rest.


    We would appreciate any comments and ideas.

    For more Information:
    - follow us on twitter @banchaproject
    - see the examples
    - read our dokumentation
    - read the JS API Docs
    - get the code

    Last edited by Dumas; 26 Sep 2012 at 12:50 AM. Reason: updated info for 1.0 release

  2. #2
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    This sounds awesome - got screencast?
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

  3. #3
    Sencha User FlaminPhoenix's Avatar
    Join Date
    May 2009
    Posts
    146
    Vote Rating
    0
    FlaminPhoenix is on a distinguished road

      0  

    Default


    Awesome idea.. we use cakephp and ExtJS too.. would love to see you guys make it mainstream with this.
    No one stands taller than the last man standing

  4. #4
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    581
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    @edspencer:
    No, there's not much you have to know as normal dev, On the Cake-side you just add the project as plugin, the ExtJS-Side you just add the library. Some samples will follow soon with the first release!
    API Docs can be found here: http://docs.banchaproject.org/js/#/api/Bancha

    @FlaminPhoenix:
    Cool, hope you guys will like it

    regards
    Roland

  5. #5
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    mikolajj is on a distinguished road

      0  

    Thumbs up What next?

    What next?


    Clean installation, cakephp + bancha.
    I took controller sample from http://samples.banchaproject.org/Use...roller.php.txt
    and copy this file to app/Controller folder.

    But I can't work out where to put this js file from exapmle http://samples.banchaproject.org/js/samples.js ?

    As I read about how "it" (bancha) works It should be a part of code generated by bancha as View.
    This code is then interpreted by browser and ExtJS is starting (is rendered) inside of web browser.

    Am I correct?
    Where to put this example js file ?
    How to create proper View?

    So in a few words ;-) need this example with more complex comment ;-)

    Regards
    MJ

  6. #6
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    581
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    Hi!

    The project is in development, not yet released! The samples aren't working yet!

    We had a few issues with mapping in our dispatcher, we're planning to release somewhere in the next two weeks.

    On the ExtJS side you just need to use the Bancha API to get models and model data.
    Inside CakePHP you just have to create the (almost) standard cake crud methods, description on that will follow soon.

    Best regards,
    Roland

  7. #7
    Sencha User
    Join Date
    Aug 2011
    Posts
    2
    Vote Rating
    0
    mikolajj is on a distinguished road

      0  

    Cool Great ;-)

    Great ;-)


    Looking forward to see it in action ;-)

    Is there any official group or RSS about Bancha, where I can fallow progress of your work?

    Beat Regards
    MJ

  8. #8
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    581
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    You can follow us on @banchaproject.
    We will also announce the first release here in the forums.

    have a nice day
    Roland

  9. #9
    Touch Premium Member
    Join Date
    Sep 2011
    Posts
    2
    Vote Rating
    0
    justinledwards is on a distinguished road

      0  

    Default


    How are things coming along?

  10. #10
    Sencha User Dumas's Avatar
    Join Date
    Dec 2008
    Location
    Vienna, Austria
    Posts
    581
    Vote Rating
    9
    Dumas will become famous soon enough

      0  

    Default


    Yeah, last weeks were very busy. I moved to another country and we all had much to do for work/university. But now we are on it again.

    We found the error and currently fixing it. We are also overviewing the whole technical documentation again.

    I really plan to finish it soon.

    cheers
    Roland