Welcome Guest, Not a member yet? Register   Sign In
Bancha, Open-source CMS
#1

[eluser]Nicholas Valbusa[/eluser]
Hello, I just want to write two lines about a new cms powered by CodeIgniter that I wrote: Bancha.

Bancha is capable to manage any kind of project/website, specially when it have many different types of contents.
Bancha bases its power on some pillars that make it different from other CMS: It allows you to handle any type of content: pages, news, photo galleries, products, etc ... through XML schemas. In 10 minutes, you can configure a website to manage, list and view any kind of thing you want.

Bancha is made by a powerful team of Web Developers. You can contribute yourself, joining our team on GitHub! Did you discovered a bug? Fix it, or write us a message on the issue tracker!

The official website is http://getbancha.com and the documentation can be found here http://docs.getbancha.com

GitHub: https://github.com/squallstar/bancha

Some websites made with Bancha:
http://www.squallstar.it
http://getbancha.com
http://www.mint-sugar.com
http://ilenoliukgo.co

See how easy is to query Bancha's ORM:
https://github.com/squallstar/bancha/blo...mepage.php

Technical notes: The core is based on CI 2.1 but we extended it to be more, more powerful Smile

Cheers,
Nicholas Valbusa
#2

[eluser]Nicholas Valbusa[/eluser]
I just wanna write you how damn easy is to query Bancha's ORM:
https://github.com/squallstar/bancha/blo...s/home.php

cool, eh? Big Grin
#3

[eluser]Andy Armstrong[/eluser]
Super cool.... I just wanna ask if I can extend some functionalities on the Admin side for example I want to create a booking administration can I incorporate it with bancha administration? Everything is there I just want to know if that is possible?
#4

[eluser]Nicholas Valbusa[/eluser]
[quote author="Andy Armstrong" date="1327016976"]Super cool.... I just wanna ask if I can extend some functionalities on the Admin side for example I want to create a booking administration can I incorporate it with bancha administration? Everything is there I just want to know if that is possible?[/quote]
You can create a content type named "Booking" (or Reservations) that stores the users reservations.
On the website, you can make a new reservation record (eg: after submitting a form) in this simple way:

Code:
$reservation = new Record('Booking');
$reservation->set('title', 'Something')->set('user', 'John');

$done = $this->records->save($reservation, 'Booking');

Et voilà! Wink
You can find more informations about Records here on the doc:
http://docs.getbancha.com/framework/index.html
#5

[eluser]Nicholas Valbusa[/eluser]
[quote author="Andy Armstrong" date="1327016976"]Super cool.... I just wanna ask if I can extend some functionalities on the Admin side for example I want to create a booking administration can I incorporate it with bancha administration? Everything is there I just want to know if that is possible?[/quote]

Edit: we added the documentation on how to create records:
http://docs.getbancha.com/framework/core...reate.html
#6

[eluser]Nicholas Valbusa[/eluser]
Bancha 1.0.7 is out! full changelog here: http://docs.getbancha.com/basic/changelog.html

v 1.0.7 (2012-01-22)

UPDATING FROM PREVIOUS VERSIONS: add the new “Services” fieldset on your application/xml/Settings.xml to include the Akismet support that we added
IMPORTANT: The home template has been renamed to homepage.php (from home.php) - check out your content types schemes and view files.
Removed some old english localizations
Pages and tree documentation added
Added a “default” switch on the tree() function (frontend helper)
Akismet anti-spam library added (libraries/external/akismet.php)
Akismet support is now included on the comments saving script (sandbox theme)
The comments saving script has been moved outside the type_templates. Now the script is located in views/extra/comments-save.php
Deutsch translation added (thanks to Patrick Kriechbaumer @pk-informatics)
Issue #92 resolved (users/groups)
Groups/permissions view messages now should be working back again
Issue #94 resolved (cached page encoding bug)
Added an “order_by” condition on the content types xml scheme (issue #88). Please check the documentation to see how to implement it.
Added a “View content” button on the flashmessage after saving a record throught the administration: click it to be redirected to that record on the website (needs a page that is listing content types of the same type of the record)
New methods added to the Record Objects: save(), publish(), depublish(), delete(), delete_related($relation_name);
Records documentation has been improved with the “Create record objects” page.
#7

[eluser]Gurik[/eluser]
Hello Nicholas
you have a very nice CMS there

i wanted to ask concerning integration of already done CI software into bancha (i have a bunch of controller and modules+libraries like ion_auth) is it possible to somehow integrate them without altering code?

#8

[eluser]Unknown[/eluser]
Hey, the CMS doesn't have XSS prevention (and html injection).
#9

[eluser]Nicholas Valbusa[/eluser]
[quote author="Night" date="1327374157"]Hey, the CMS doesn't have XSS prevention (and html injection).
[/quote]

Hello, thanks for the message.
I just released a small fix on the comments saving script (plus the login): https://github.com/squallstar/bancha/com...af8608deba

btw the cms don't need the xss prevention, is your theme that needs to include the xss filter, as you can see here:
https://github.com/squallstar/bancha/blo...s-save.php
#10

[eluser]Nicholas Valbusa[/eluser]
[quote author="Gurik" date="1327368242"]Hello Nicholas
you have a very nice CMS there

i wanted to ask concerning integration of already done CI software into bancha (i have a bunch of controller and modules+libraries like ion_auth) is it possible to somehow integrate them without altering code?

[/quote]

Hello you can integrate your full application without any problem. You can place your controllers inside the application/controllers directory. If no routes of your controller will match the current request, the Bancha controller will be used (the website controller).

Your models+libraries can be added to the core/libraries and core/models paths. Bancha libraries and models are organized such as core/libraries/bancha and core/models/bancha so feel free to create a folder for your files.

Last thing: the core can be reached with the constant APPPATH and the application folder with the constant USERPATH.
You can find many other examples by viewing the core/core/Bancha_Loader.php file.

If you need more informations, feel free to ask me!
Btw i'm gonna write more documentation about these things in the nex days Smile




Theme © iAndrew 2016 - Forum software by © MyBB