phreeze
phreeze copied to clipboard
Feature request
I am building a Phreeze Communication-portal app for me and the boys at the office. It's very nice to get to know Phreeze in the process. Our mailboxes are getting filled up with internal mail and therefore I am building the following stuff:
- Secure login (done)
- User role management (done)
- Private messages(done)
- Chat(done)
- Projects + tasks + hour tracking( needs some relational models.. so to be continued )
- Ticketsystem ( needs some relational models.. so to be continued )
- Posts and comments( needs some relational models.. so to be continued )
- Search engine(to be continued)
- File manager + version control(to be continued)
I've been looking around to see nice stuff to be included, like upload fields and WYSIWYG editors. And I found the following which might be candidates:
Twitter Bootstrap File upload http://jasny.github.com/bootstrap/javascript.html#fileupload
Twitter Bootstrap WYSIWYG (TEXTAREA replacement) http://jhollingworth.github.com/bootstrap-wysihtml5/
For the filemanager I still need to find good image compression libraries.ShrinkImage looks really promising: http://headers-already-sent.com/shrinkimage-1#.ULZ0BdeBp8E
And I need to find a good javascript file upload thingy. Something like http://www.plupload.com/.
It would be great if the Phreeze builder would include a option to add a storage location, such as a uploadfolder.
We've used a modified version of this plugin for file uploading... http://blueimp.github.com/jQuery-File-Upload/
Lately we've been uploading images directly to a CDN so we don't store them with the application, but that's another situation. We have multiple load-balanced web servers so we can't store images locally.
By the way in case anybody wants to see a Phreeze site that is totally unlike the auto-generated code, you can check one out at https://laplive.tv/ Some of the client-side code is not as clean as I'd like, but it uses all model-binding for everything. If you turn on the debugger you'll see all the standard phreeze api calls being made.
Thw website could use some .htacces work too. CDN might be used for load balancing, but I would run ySlow and see where you could improve the performance. It's quite slow, eventhough it uses Phreeze. The uploader looks nice and clean.
Yea it is a single-page app with a very heavy client. Once the site is running a while longer we'll focus on minimizing and optimizing. Here in Chicago it loads ok, about the same speed as YouTube home page. Anyway I just thought it would be interesting to show a Phreeze site that is radically different from the generated code. It doesn't even use bootstrap, it uses jQuery UI.
Any further development on including these features, particularly a WYSIWYG editor?
I doubt that I'll add a wysiwyg editor into the generated code because I don't want to get into supporting all kinds of custom editors and plugins. It's pretty easy to just add one in if you need it. Something that might be more appealing for me would be a plugin architecture so that people could add in their own controls or something. That's probably more ambitious but then it would let other people add the controls that they want and take some of the burden off of just be adding and maintaining all of these editor controls!