Today I would like to announce a project I’ve been working on for about a month, Bleextop is the realization of an idea I’ve had for quite some time and that is creating a base project with generic functionalities so it can be used in any other project.
Bleextop is a Desktop with ExtJS4 and CodeIgniter, at this moment it has the following features:
You can find the source code in GitHub if you want to download it or you can check the demo I’ve prepared (usr:crysfel,passwd:123), I must mention that this project is still not 100% finished, so there are a lot of features missing and surely quite a few bugs, but I believe it has a bright future and it will be very useful for everyone. I’m planning on creating tutorials on how to use it but before I do that I’d like to have a stable version.
Bleextop is going to be released as an OpenSource project and the main idea is that it can grow and be used by many developers around the world, at this moment I’m looking for testers and developers so we can finish it faster. I’m using this project with one of my clientes and I’ve been fixing some bugs but the help of other developers is always welcomed.
If you like my work you can make a donation, this will help me to continue with this work. Thanks!
We develop an application based on the desktop by Sencha. I like this bleext desktop. Purchase is $0. I wonder can we used this desktop for our application?
Sure, that’s the main idea, it’s an opensource project, however this is a work in progress desktop and i’m fixing some bugs and adding some other modules, I’d be happy if you help in the development
Wow! This is nice. I’ve been working on something like this too. Not with much luck (try finding a multi upload for ExtJs).
So I am curious to see if my code so far can fit in. Do you have any documentation yet?
Hi Richard.
Unfortunately I didn’t have time to create documentation, however take a look at “js/Bleext/modules/catalogs” directory and see how those modules are made, basically is the MVC architecture that Sencha recommend, so adding new modules should be simple.
I’m going to write some tutorials in the near future on how to use this application.
Best regards.
I noticed that, so that is not a problem. But how can I get them on the desktop or available?
For example you have the user views and all, but they don’t show up in the menu. Only under applications…and they are set Active
You need to add the privileges to the user in the database to see the users application, in order to do that you need to create a “permission” in “permissions” table, after that you need to assign that permission to a role so insert the relationship in the “role_permissions” table.
Make sure the user that have the right role in order to see the application in the main menu. Take a look at the “applicationdao.php” to see the query that is getting all the applications by role.
Best regards
Ok I got the user screen activated and as icon on the desktop. But the New-Save-Delete buttons don’t work. And only the grid is visible. Not the form.
Looks like the download version don’t work….
thanks alot dude!….this that i mean…finaly i found on your blog…
like @Piet Crombach said, i would like to use bleextop…and i hope can help you to develop it…
Any help would be appreciate, I’m working on this in my spare time but I’m really excited about the project
Hola Crysfel,
Primero que todo desde quizzpot he estado siguiendo tus tutoriales y proyectos y gracias a ellos ahora manejo extJS para varias cosas.
Ahora con este nuevo que lanzas open source y con la versión 4 apenas me estoy acomodando al cambio de versión.
Bueno deseo saber como manejas la parte de inactividad de quien esta logueado (donde te dice que debes volver a iniciar sesión), en que archivo puedo ver ese código, ya que me gusto mucho y quiero implementarlo en un proyecto que tengo con ExtJS 3.x .
Desde ya, muchas gracias por tu atención y varios de tus tutoriales ya que me fueron de mucha ayuda al momento de iniciarme en este gran framework.
I honestly did well, but almost nothing works part of the MVC, only the wealthy for your applications you did …
I’d like to use this as the base for a system I’m upgrading. What is the best method to report problems? For instance, I attempted an installation in an existing database by prefixing the the tables in the config settings. However, I’m getting some errors that appear like there is some hardcoding of tables. (See userdao.php). Also, an error occurred and was resolved by changing the name of file UserBI.php to all lowercase. Let me know how I can help.
Great! please report any issues in github
thank you.
Sorry for my English !
Where can I find a copy of database.sql?
I looked at github and within the sources and not found!
I even create a structure based on the mistakes that got the firebug:
CREATE TABLE applications (
id int(11) NOT NULL AUTO_INCREMENT,
application_k varchar(255) NOT NULL DEFAULT ”,
application_parent_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE permissions (
id int(11) NOT NULL AUTO_INCREMENT,
`action` varchar(255) NOT NULL DEFAULT ”,
application_k varchar(255) NOT NULL DEFAULT ”,
permission_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE roles (
id int(11) NOT NULL AUTO_INCREMENT,
role_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE role_permissions (
id int(11) NOT NULL AUTO_INCREMENT,
`value` varchar(255) NOT NULL DEFAULT ”,
permission_k varchar(255) NOT NULL DEFAULT ”,
role_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE users (
id int(11) NOT NULL AUTO_INCREMENT,
username varchar(30) NOT NULL DEFAULT ”,
`password` varchar(32) NOT NULL,
user_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE user_roles (
id int(11) NOT NULL AUTO_INCREMENT,
role_k varchar(255) NOT NULL DEFAULT ”,
user_k varchar(255) NOT NULL DEFAULT ”,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Please pull the project again, I just added the database script.
Regards
Great project , i hope you can add tutorial to make a simple application.i was following kebab-project.com but they are using zend and extjs3.Your project seems way better then it, specially codeigniter part.
I was comparing this demo with the extjs demo on sencha website and the desktop appears to be missing some small functionality like desktop settings, change background, right clicking on desktop, right clicking on applications in toolbar, clock missing from toolbar etc.
Also there appears to be some bugs with the users app, as adding, updating, deleting users doesn’t appear to work.
Aside from that it would be great if there was a quick tutorial on how developers would create new apps.
Is this still being developed, work in progress?
Thanks alot this is really helpful.
Hi Luk
This is a work in progress, the users app is not done yet. It would be great if you could help
I am struggling wtih the current ExtJS / Sencha example desktop and figuring out how to allow my desktop shortcut to link to a createWindow instance inside a folder in the start manu. I see you have accomplished this task with your “Groups” desktop shortcut.
Could you explain how you were able to accomplish this? I couldn’t find any of the necessary source code.
I can email you an example of my code if that would help explain what I am trying to do.
Thanks!
Sabes como crear multi-aplicaciones en extjs4, o sea crear aplicaciones por modulos, donde un modulo sea una aplicacion en si misma, definida por el MVC.
hi..
i install bleext on my xampp 1.7.3 on windows seven…
create the database…
well,
when I try to access, the brownser stops on “Please wait: Building user interface”
in the firebug appears:
“http://localhost/~Crysfel/Bleextop/js/Bleext/modules/login/LoginWindow.js?_dc=1329157241282″
“c is not a constructor”
what i can do?
Let’me fix that, thanks for your report.
i saw that that it is “parked” has six months…
whats version of codeigniter is used? and what version of extjs?
if not the last, how i could help with the project?
thankyou crystel!
Is using the Ext 4.0.7 and of course you can help! just create a pull request and I’ll add the code to the main repo.
Regards
ok!
and what version of codeigniter?
bye…
Have you thought about making it RESTful? I was wondering that having a backend independent app would be great. Also, i see that you plan to create a tutorial, but could you in advance add the basic process of attaching a new module to it?
hi, mys taskbar is on the top how can i fix that??
Hi Roberto,
Go to application » controllers » desktop and find the method : config(), then change the array property “dock” to “bottom”.
That’s it !
thaks Victor
and i´m new at this but a would like to help on this proyect
Crysfel,
I’m really amazed about your work !! This is what I have wanted since I started on ExtJs 4, no words to express my gratitude !!
Hey, please add a Donate app to you site so I can retribute.
Many thanks again and looking forward to see any enhacementes or so.
I’m glad you like my work! If you want to help in the development just send a push request
regards
Well, I’d love but I’m still a newbie on ExtJs 4 MVC. Crysfel, could you share a simple application module or maybe the basic steps of creating one? I know it is the easiest part but it would be helpful to continue following your coding standards and style.
PS: Do you plan to have a new version/fixes soon?
Thanks again !
Crysfel,
On downloaded source, I found that when I opened 2 modules then I close one of them. Button on the active window didn’t respond (actuallu I felt it lost its controller). Why on that?
Many Thanks,
Fixed by Victor Cardins
Your demo website is not up to date as the github code is.
Could you please add it up to date?
i.e. Bleext.Ajax.request({
url: Bleext.BASE_PATH + “index.php/catalogs/permissions/getForCurrentUserApplication”,
…
is missing from your demo
Hello. I’m here testing their application crysfel-Bleextop, I found really cool. The lance is as follows, when I click on the users system threatens the open user module screen puts the icon on toolbar, but shows only the screen Panel with no content inside, then if I click on the icone da barra the module is loaded normally. What may be happening? This doesn’t happen with the privileges screen. Will be some bug in the abstract class for these forms? It happens in all other, less on the screen of an on-screen and access groups.
Any plan to upgrade to ext4.1?
Awesome project, It seems that qwikioffice available at qwikioffice.com is more complete than yours so I suggest and encourage you to release it as Open Source to allow people to contribute and improve it.
Regards
I’m glad you like it. This project is Open Source, you can find the code on github https://github.com/crysfel/Bleextop any help would be appreciate.
Regards
Hello Crysfel !
Could you help me on something? I see that the code that you have for the online demo is different from the downloable one, correct? I’ve face with an issue that I suppose it happens only for the downloaded one, to reproduce try:
1. Open the Groups window and then Application window;
2. Execute actions on both alternating between;
3. Close one of those and then try to request any action from the left opened one …
4. In my case the events are no longer responded, nothing happens. I looked at the code and realized that this happens here: destroyController : function(controller), : delete me.eventbus.bus[ev][s]; however if I remove this line other issues come over.
Any ideas? I have worked on the code and migrated to 4.1 version, but this is still an issue. (All works fine if I have only 1 window open at a time);
Hi All,
By debugging, I noticed that the selectors were being added to the selectors array once we loaded a new module, and once a window was destroyed, all selectors for all open windows were being destroyed as well, not only for the closed module one.
I made a simple change and now I think it is working ok. In abstract Controller class : Bleext.abstract.Controller, I changed:
From: selectors : [] to selectors : null, and …
within control method, added:
if(Ext.isObject(actions)){
if (!me.selectors) me.selectors = []; // this line was added
Crysfel, let us know if this is correct, many thanks !
Your fix is great! now is working fine, I’ve pushed your code to the github repo.
Did you migrate to Ext 4.1 successfully? could you send a pull request so I can update the code?
Thanks!
Hi,
Your desktop is great!
One small suggestion….
Is it possible to upgrade it to version 4.1.1.????
Thank you!
And probably the CodeIgniter to the last version so we could help….
Regards
error in the user module: why?
Uncaught TypeError: Cannot read property ‘length’ of undefined ext-all-dev.js:33067
Ext.define.show ext-all-dev.js:33067
Ext.define.unghost ext-all-dev.js:58365
ghostPanel.el.animate.listeners.afteranimate ext-all-dev.js:43029
fire ext-all-dev.js:17461
Ext.define.continueFireEvent ext-all-dev.js:21702
Ext.define.fireEvent ext-all-dev.js:21675
Ext.define.end ext-all-dev.js:54656
Ext.define.lastFrame ext-all-dev.js:54640
Ext.define.runAnim ext-all-dev.js:52124
Ext.define.each ext-all-dev.js:37654
Ext.define.runner ext-all-dev.js:52063
runTasks
i created a new module and even I have the error:
Uncaught TypeError: Cannot read property ‘length’ of undefined
why??
Great Job. But, chrome is not supported. Any plan?