diff --git a/applications/examples/private/content/en/default/documentation/community.markmin b/applications/examples/private/content/en/default/documentation/community.markmin index ac0af6b3..810ddc55 100644 --- a/applications/examples/private/content/en/default/documentation/community.markmin +++ b/applications/examples/private/content/en/default/documentation/community.markmin @@ -1,8 +1,6 @@ ### Community Documentation - [[Roadmap https://trello.com/b/d3aqBbBl/web2py-roadmap]] -- [[web2pybrasil http://www.web2pybrasil.com.br popup]] -- Apostila em português [[Download http://dl.dropbox.com/u/830444/apostila_web2py_basico.pdf popup]] e [[Online http://web2pybrasil.appspot.com/init/plugin_wiki/page/curso-web2py-000 popup]] - [[Sitio en español http://www.web2py.com.ar popup]] - [[Documentación en español http://www.web2py.com.ar/examples/default/docs popup]] -- [[Chrome extension to display tickets https://github.com/agarden/web2py-devmode-chrome]] \ No newline at end of file +- [[Chrome extension to display tickets https://github.com/agarden/web2py-devmode-chrome]] diff --git a/applications/examples/private/content/en/default/documentation/more.markmin b/applications/examples/private/content/en/default/documentation/more.markmin index 89388237..2b4010f3 100644 --- a/applications/examples/private/content/en/default/documentation/more.markmin +++ b/applications/examples/private/content/en/default/documentation/more.markmin @@ -10,11 +10,8 @@ - [[Intro video http://www.youtube.com/watch?v=BXzqmHx6edY]] and [[code examples https://github.com/mjhea0/web2py]] - [[Step by step tutorial https://milesm.pythonanywhere.com/wiki]] - [[web2py Reference Project http://www.web2pyref.com/]] -- [[An advanced tutorial https://milesm.pythonanywhere.com/wiki]] - [[Killer Web Development Tutorial http://killer-web-development.com/]] - [[Real Python for the Web http://www.realpython.com]] (web development with web2py and more!) -- [[Admin Demo http://www.web2py.com/demo_admin popup]] (web-based IDE) -- [[Welcome App Demo http://www.web2py.com/welcome]] (scaffolding application) - [[Videos http://www.web2py.com/examples/default/videos/]] - [[FAQ http://www.web2py.com/AlterEgo popup]] diff --git a/applications/examples/private/content/en/default/documentation/official.markmin b/applications/examples/private/content/en/default/documentation/official.markmin index 6c60111a..8d6a30aa 100644 --- a/applications/examples/private/content/en/default/documentation/official.markmin +++ b/applications/examples/private/content/en/default/documentation/official.markmin @@ -1,10 +1,10 @@ ### Official Documentation - [[**web2py Online Book (english)** http://web2py.com/book popup]] -- [[web2py Online Book (spanish) http://www.latinuxpress.com/books/drafts/web2py/ popup]] +- [[web2py Online Book (translations in several languages) http://www.web2py.com/books/default/index popup]] - [[Buy E-book/Printed Version http://stores.lulu.com/web2py popup]] - [[web2py Application Development Cookbook http://www.packtpub.com/web2py-application-development-recipes-to-master-python-web-framework-cookbook/book?utm_source=web2py.com&utm_medium=link&utm_content=pod&utm_campaign=mdb_009617]] - [[Quick Examples http://www.web2py.com/examples/default/examples]] - [[API http://web2py.com/book/default/chapter/04#API popup]] - [[Sphinx (source code documentation) http://web2py.readthedocs.org/en/latest/ popup]] -- [[Videos https://vimeo.com/album/3016728]] (edited by Nico Zanferrari) \ No newline at end of file +- [[Videos https://vimeo.com/album/3016728]] (edited by Nico Zanferrari) diff --git a/applications/examples/private/content/en/default/usergroups/grouplist.markmin b/applications/examples/private/content/en/default/usergroups/grouplist.markmin index a8f4310d..8beac97f 100644 --- a/applications/examples/private/content/en/default/usergroups/grouplist.markmin +++ b/applications/examples/private/content/en/default/usergroups/grouplist.markmin @@ -44,9 +44,3 @@ Spanish speakers group ``web2py-usuarios``:groupdates -## Chinese Group - -Chinese speakers group - -- [[http://web2py.sinaapp.com/ popup]] - diff --git a/applications/examples/views/default/download.html b/applications/examples/views/default/download.html index 362d64bf..c1ecdec5 100644 --- a/applications/examples/views/default/download.html +++ b/applications/examples/views/default/download.html @@ -81,7 +81,7 @@

License

Web2py code is released under LGPLv3 License. This license does not extend to third party libraries distributed with web2py (which can be MIT, BSD or Apache type licenses) nor does it extend to applications built with web2py (under the terms of the LGPL.

-

Applications built with web2py can be released under any license the author wishes as long they do not contain web2py code. They can link unmodified web2py libraries and they can be distributed with official web2py binaries. In particular web2py applications can be distributed in closed source. The admin interface provides a button to byte-code compile.

+

Applications built with web2py can be released under any license the author wishes as long as they do not contain web2py code. They can link unmodified web2py libraries and they can be distributed with official web2py binaries. In particular web2py applications can be distributed in closed source. The admin interface provides a button to byte-code compile.

It is fine to distribute web2py (source or compiled) with your applications as long as you make it clear in the license where your application ends and web2py starts.

web2py is copyrighted by Massimo Di Pierro. The web2py trademark is owned by Massimo Di Pierro.

read more diff --git a/applications/examples/views/default/examples.html b/applications/examples/views/default/examples.html index f048b557..ad1c566b 100644 --- a/applications/examples/views/default/examples.html +++ b/applications/examples/views/default/examples.html @@ -50,10 +50,10 @@ def hello3(): and view: simple_examples/hello3.html {{=CODE(open(os.path.join(request.folder,'views/simple_examples/hello3.html'),'r').read(),language='html',link=URL('global','vars'),_class='boxCode')}} -

If you return a dictionary, the variables defined in the dictionery are visible to the view (template). +

If you return a dictionary, the variables defined in the dictionary are visible to the view (template).
Try it here: hello3

-

Actions can also be be rendered in other formsts like JSON, hello3.json, and XML, hello3.xml

+

Actions can also be be rendered in other forms like JSON, hello3.json, and XML, hello3.xml

Example {{=c}}{{c+=1}}

In controller: simple_examples.py {{=CODE(""" @@ -69,7 +69,7 @@ def hello4(): def hello5(): return HTML(BODY(H1(T('Hello World'),_style="color: red;"))).xml() # .xml to serialize """.strip(),language='web2py',link=URL('global','vars'),_class='boxCode')}} -

You can also generate HTML using helper objects HTML, BODY, H1, etc. Each of these tags is a class and the views know how to render the corresponding objects. The method .xml() serializes them and produce html/xml code for the page. +

You can also generate HTML using helper objects HTML, BODY, H1, etc. Each of these tags is a class and the views know how to render the corresponding objects. The method .xml() serializes them and produces html/xml code for the page. Each tag, DIV for example, takes three types of arguments: