| modular application design |
select |
this is an example of how to create a modular application with web2py |
Application |
2010-03-13
|
mudular,
design,
signal,
slot,
ajax,
plugin
|
4
|
| eye candy ajax file upload in LOAD/plug-in component with component refresh |
select |
Forms that are in a LOAD div (e.g. a plug-in) do not upload files. To get around this I used a jQuery plugin. I combined this with the ability of web2py to update components selectively. |
Plugin |
2010-02-19
|
"file
upload"
upload
ajax
"eye
candy"
plug-in
|
0
|
| on accept update default value of form var |
select |
this slice was stupid since I did not read the manual |
View |
2010-02-04
|
form_factory
"default
value"
"not
updated"
|
0
|
| WYSIWYG Markdown in Your Plugin/LOAD ajax=True |
select |
How to get a WYSIWYG editor for form textareas that saves markdown (lightweight markup language supported by web2py) even in an ajax frame and how to dispay the markdown text again |
Application |
2010-01-25
|
ajax
markdown
WYSIWYG
plug-in
editor
|
5
|
| remove form labels |
select |
to remove all labels from a form, Massimo showed me this trick |
View |
2010-01-21
|
form
labels
remove
|
0
|
| GET requests in plugins/LOAD ajax=True |
select |
Web2py plugins are nice but you cannot use A href hyperlinks to refresh just the plugin div, here is a trick how to make GET requests from plugins |
View |
2010-01-17
|
LOAD
ajax
GET
plugin
href
link
|
0
|
| web2py with mod_proxy on ubuntu |
select |
i have a apache server running which i wanted to show my web2py apps that are running on the provided server under port 8000 so that i can call http://localhost/myapp/ <- thats the apache server instead of http://127.0.0.1:8000/myapp/ <- thats the web2py server |
Application |
2009-12-01
|
ubuntu
apache
mod_proxy
|
0
|
| rounded corners: no images, no javascript, simple css - for Opera, WebKit (Safari, Chrome) and Gecko (Firefox) |
select |
for WebKit (Safari, Chrome) and Gecko (Firefox) the experimental css3
property is used to create the rounded corners and for Opera an SVG
image with rounded corners is generated and used as background |
Application |
2009-12-01
|
rounded
corners
css
div
|
0
|
| ajax function eyecandy |
select |
make the ajax function display a loading icon |
Application |
2009-12-01
|
ajax
loading
|
5
|
mr.freeze
mr.freeze
jumi
paulgerrard