Why do people don't like web2py?

I really want to know what are its advantages/disadvantages against other frameworks in your opinion.

πŸ‘︎ 10
πŸ’¬︎
πŸ‘€︎ u/errorOccurred_
πŸ“…︎ Feb 11 2021
🚨︎ report
Web2Py

Anyone here using this framework? If yes, why? And why are you not using r/web2py

I'm asking because it was my first experience with python and the easiest framework on earth to use from my point of view.. and I wanted to know what do you think about it!

πŸ‘︎ 51
πŸ’¬︎
πŸ‘€︎ u/zezhf
πŸ“…︎ Jul 17 2014
🚨︎ report
django vs web2py, what do you use and why?

I'm interested in trying out a python web framework and the two big ones seem to be django and web2py (or others if you prefer something else?). I'm curious what others are using and why. I did a reddit search and didn't see a recent submission regarding this, but sorry if it's a commonly asked question.

Edit: Wow... pylons, Flask, Bottle, CherryPy, Django, web2py... I should have known that there would be a flurry of different projects out there each with their own niche. I guess if you have experience with any of them post your opinions for me :)

πŸ‘︎ 54
πŸ’¬︎
πŸ‘€︎ u/iamtotalcrap
πŸ“…︎ Sep 14 2010
🚨︎ report
Should I use Django or web2py to create a website?

Based purely on looks, what would turn out better:

A website using Django

OR

A website using web2py

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/McQuillus23
πŸ“…︎ Jan 12 2020
🚨︎ report
Can anyone explain the differences between web2py, Django, Flask, etc, and when I should use one or the other and what the benefits and drawbacks of each?

That's several big questions, but if you can answer any part, I'd really appreciate it.

I posted this in /r/learnpython without much response.

Thanks!

Edit: it seems like the preferred frameworks are as varied as we are. I suppose there isn't really a right answer. I guess the best course of action would be for me to build a Hello World app in each of them and figure out which I like working with the most. I'm curious how difficult conversions between frameworks would be.

πŸ‘︎ 145
πŸ’¬︎
πŸ‘€︎ u/nicholastjohnson
πŸ“…︎ Jun 21 2014
🚨︎ report
web2py database row to list?

i am very new to using databases, i have this code here that should check for an existing databse, if nothing exists it creates one. tho i cant manage to fill a row of the database into a list like this

to sum it up, how do i put a row of data into this list

https://preview.redd.it/id1jgwqro6131.png?width=846&format=png&auto=webp&s=595c48d8e46a2e436fb8d41c0e9409386c0aa620

https://preview.redd.it/5590tbhio6131.png?width=800&format=png&auto=webp&s=a466cee5664a8858a59958c9534d449a70384797

πŸ‘︎ 2
πŸ’¬︎
πŸ‘€︎ u/chiusan
πŸ“…︎ May 29 2019
🚨︎ report
web2py 2.1.1 is out

New features include: faster, static asset management, auth.wiki (with page attachments, page group based access control, oembed, preview), jQuery 1.8, Bootstrap 2.1, Dropbox login, Redis sessions, entropy password check, better admin interface (uses codemirror) and mobile admin (uses jQuery.mobile), Field(type='upload') can use any pyfilesystem (including ftp, amazon, etc.).

http://web2py.com/

πŸ‘︎ 78
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Oct 15 2012
🚨︎ report
Django vs web2py

I'll try to keep this as short as possible without skimping on details.

I'm in the process of learning Python. My interest is mainly in developing web apps and (if it's ever practical) Android apps in Python.

Every piece of advice I've gotten leads to finding a problem I care about that can be solved by writing my own app and chipping away at it as I learn using google to overcome various obstacles I run into.

So, to keep a long and complicated explanation as short as possible, I'm going to build a combination blog/BBS system for things like gaming clans that need a news system and message board with heavy integration over a single auth system. It's always been a pain for me in the past to try and integrate PHP based web apps like Wordpress and phpBB into a single auth system without it being hosed on every update. I know this sounds ambitious but it's something that can start as a super-simple message posting system and expand as I learn.

I'm not ready to set up my local test server to start playing around as my studies continue but I'm running into a bit of a road block with which framework to use.

Google results seem to suggest web2py is the way to go. However when I bring this up to most Python gurus they ask me why I'm not using Django. A friend of mine who recently set up something fairly similar to what I'm doing in web2py said he tried both and web2py was easier to program in.

I haven't looked into Django other than my google searching, but I've read much of the web2py manual and it seems very powerful and to have many features I need built right into the framework already.

Is there a reason to go with Django over web2py? What is the /r/Python opinion on web development with python?

πŸ‘︎ 20
πŸ’¬︎
πŸ‘€︎ u/HittingSmoke
πŸ“…︎ May 04 2011
🚨︎ report
An often asked question to which I still don't know the answer: django or pylons or web2py, ...

I am about to embark on the quest to create a new web-based project. In this case, a proof-of-concept project. I have written a TurboGears and TurboGears2 project and I like and dislike the framework at the same time. I like it because everything is included and nicely integrated. But that's also the point where I dislike it. In my opinion it's got quite a steep learning curve.

My primary point of satisfaction is the way it handles web forms and validation.

Now, the project I am about to design, will be very JavaScript heavy. I am thinking of using one of the popular JS frameworks/libraries, but that is not the question here.

The main requirement of the project is that it shows a web-form with likely many fields. These fields need to be validate any time a value in any other field changes using a rule-based system. And these checks need to be as fast as possible and should never block the interface. This has currently been implemented in a thick client application. This is the "proof-of-concept" I am looking for: "See, it can also be done in the browser!"

Now, as said, JS is not in question here. But what is, is the server-side backend. I am looking for something that ...

  • ... needs as little scaffolding code as possible (which is why I started with python in the first place), with
  • ... can handle JSON seamlessly
  • ... supports auth&auth (I really like the TurboGears model so far
  • ... is deployable via mod_wsgi
  • ... does templating in a humane way (I dislike kid because of the missing "else" statement)

As potential choices, I came up with:

  • django
  • pylons
  • turbogears2 (but I would like to try something else)

I know there are others. But so far I've only done some reading on the three mentioned frameworks. My thoughts so far:

  • django -- Interesting tagline ("... with deadlines"). Can it hold up what it promises? What about DB abstraction. Would you go with SA or rather use the django model? SA seems more future proof as it is very flexible.

  • pylons -- Pretty much the same as TG2 with less bells&whistles. As I want to experience something "new", I'd consider this a second choice.

What are your thoughs on this, given the above facts?

πŸ‘︎ 46
πŸ’¬︎
πŸ‘€︎ u/exhuma
πŸ“…︎ Nov 30 2010
🚨︎ report
web2py 1.78.1 released web2py.com/examples/defau…
πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ May 16 2010
🚨︎ report
Thoughts on web2py?

Recently I stumbled upon the web2py framework and liked the simplicity and self contained nature.

I then did some searching and I saw someone refer to it as the "MS Access of web frameworks". This really resonated with me and I put some thought into what the pros and cons of this framework are and whether it lives up to the "enterprise" claim by its author(s).

I do think some pieces are a bit misguided. For instance, the lack of using imports on models and controllers make opening up a project in an IDE a bit cumbersome but you can get around this with an IF 0 statement.

Yet, this is the first framework where I really felt things immediately clicked and I was more focused on developing my app than on programming into the framework.

The documentation is somewhat inconvenient to access (a scribd book and a home brew wiki). The author recently commented that he is looking to fix this. That is probably the biggest hurdle.

What are your thoughts on this framework, its enterprise viability, and how it stacks up to Django and Pylons? Is the DAL enterprise grade, or should something like SQLAlchemy be ported?

πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/kev009
πŸ“…︎ Feb 06 2010
🚨︎ report
base64 in web2py

Alright, so I've progressed through most of this on my own but I'm a little lacking with my knowledge in web2py. As of right now, I have a base64 test string that contains an image. I take this string, run it through imread to hand something to a variable containing cv2.cvtColor(img, cv2.COLOR_RGB2BGR). What I am attempting to do is serve this up to the view to display it and ensure I am getting something. Through a post I found on displaying images from the Controller, I have entered this as my return statement

return {"html_code": IMG(_src=cv2_img)}

and in the default view, I use this line of code

{{=html_code}}

The error that I am getting is that html_code is not defined.

πŸ‘︎ 6
πŸ’¬︎
πŸ‘€︎ u/sinithw
πŸ“…︎ Feb 08 2018
🚨︎ report
Opinions on web2py?

I've been looking into python frameworks for a web app and I stumbled upon web2py. It seems really great so far but what are some drawbacks that you guys have ran into?

πŸ‘︎ 34
πŸ’¬︎
πŸ‘€︎ u/LinguoIsDead
πŸ“…︎ Oct 10 2011
🚨︎ report
web2py is awesome for beginners

For example (complete program)

def hello(): return 'Hello %(name)s!' % request.vars

You type it directly in the web based IDE. No shell commands. You can use emacs or vi or your favorite editor if you prefer.

Here is a more complex example, a todo list with permissions:

db.define_table('todo',Field('task'),auth.signature)

@auth.requires_login()
def mytasks():
      return dict(mygrid=SQLFORM.grid(db.todo))

Out of the box you get a skeleton.css flexible layout, a ticketing system, a web based management interface, a web based database management interface, a web based python shell, a web based internationalization interface, and various web services.

The code above works on GAE without modifications. In fact web2py has a web based deployment interface for GAE. Did I mention it has a web based interface to mercurial too?

Web2py includes adapters for more databases than any python ORM. Includes also includes role based accesson control with authentication adapters for oauth1,2, janrain, facebook, linkedin, lpad, pam, openid, google, dropbox and more.

Check out the newest web2py based Social CMS, movica.

πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Feb 06 2012
🚨︎ report
Looking to make a spaced repetition flashcard web app. What web framework do you recommend? Considering either Django or web2py, but open to other suggestions.

I've done a good deal of both Googling and searching reddit, reading threads about the different frameworks.

I realize that in the end, the framework I choose won't really matter all that much.

I was leaning toward web2py, mostly because I liked what I read about their design principles and it sounds like it might have less of a barrier to entry, but recently I found that there's already a spaced repetition package using SuperMemo 2's algorithm for Django.

When it comes to Python, I'm starting from zero. I've done some CodeAcademy tutorials, but that's it.

I realize that getting proficient enough to pull off what I want to do is going to take time, and it is going to take doing a lot of other little side projects, but I'm still trying to do things with the goal in mind of building my spaced repetition (SRS) flashcard project. My ESL students don't have an accessible SRS platform to use in their native language, and I'd like to provide them with one.

πŸ‘︎ 7
πŸ’¬︎
πŸ‘€︎ u/rainer511
πŸ“…︎ Aug 09 2015
🚨︎ report
web2py trunk has a new RESTful API that writes DB queries automatically based on URL patterns. What do you think reddit? vimeo.com/21133657
πŸ‘︎ 19
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Mar 16 2011
🚨︎ report
Deploying web2py on Google App Engine with Google Cloud SQL - GitBook gitbook.com/book/tomcam/u…
πŸ‘︎ 3
πŸ’¬︎
πŸ‘€︎ u/nano_jquery
πŸ“…︎ Sep 11 2016
🚨︎ report
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/av201001
πŸ“…︎ Jun 17 2011
🚨︎ report
misunderstandings about web2py web2py.com/AlterEgo/defau…
πŸ‘︎ 16
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Sep 19 2010
🚨︎ report
web2py 2.9 cheatsheet dl.dropboxusercontent.com…
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Apr 22 2014
🚨︎ report
Here is a web hosting company that understands web2py pythonanywhere.com/try-we…
πŸ‘︎ 104
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Oct 28 2013
🚨︎ report
alwaysdata.com / free hosting that runs web2py apps forum.alwaysdata.com/view…
πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Aug 19 2011
🚨︎ report
What are some reasons you like using Flask over Bottle, CherryPy, Django, Pyramid, Web2py or Turbogears?

I wanted to get an idea of why Flask is interesting to you compared to the other Python web frameworks.

My current plan is to learn Pyramid and Flask for two separate projects (a more complex and a less complex one). So far, the Flask tutorials I'm finding are easier to digest than the Pyramid ones.

πŸ‘︎ 9
πŸ’¬︎
πŸ‘€︎ u/Circlefusion
πŸ“…︎ Oct 30 2012
🚨︎ report
web2py tutorial at PyCon 2011 (part 1/2) python.mirocommunity.org/…
πŸ‘︎ 12
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Mar 14 2011
🚨︎ report
web2py 1.81.4 out, integrated out of the box with Facebook, Google, LinkedIn, etc via RPX(JanRain.com) groups.google.com/group/w…
πŸ‘︎ 14
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Jul 17 2010
🚨︎ report
Web2py wins an InfoWorld 2012 Technology of the Year Award infoworld.com/slideshow/2…
πŸ‘︎ 33
πŸ’¬︎
πŸ‘€︎ u/geordano
πŸ“…︎ Jan 10 2012
🚨︎ report
pyDAL web2py's data abstraction layer is now a separate project github.com/web2py/pydal
πŸ‘︎ 25
πŸ’¬︎
πŸ‘€︎ u/radaway
πŸ“…︎ Dec 24 2014
🚨︎ report
My friend and I made this web game using web2py playtotm.com
πŸ‘︎ 21
πŸ’¬︎
πŸ‘€︎ u/bibzzzz
πŸ“…︎ Nov 21 2014
🚨︎ report
fluxflex free python hosting (250MB) - web2py howto video - why do the other hostings do not get it? vimeo.com/28112026
πŸ‘︎ 11
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Aug 24 2011
🚨︎ report
Audio Streaming App in web2py from scratch.
# download web2py
wget http://web2py.com/examples/static/web2py_src.zip
unzip web2py_src.zip
cd web2py

# make the app using only core API
mkdir applications/audio
cp -r applications/welcome/* applications/audio
echo "
db.define_table('music',
                Field('name',required=True),
                Field('filename','upload',required=True),
                auth.signature)
" > applications/audio/models/db_audio.py
echo "
response.menu = [('Home',0,URL('index'))]

# allows to browser, search, and upload new music (if logged in)
def index():
    # tell web2py that links to music files are to be
    # represented as HTML5 audio embedded players
    from gluon.contrib.autolinks import expand_one
    db.music.filename.represent = lambda v,r: \
        XML(expand_one(URL('download',args=v),{}))
    return dict(grid = SQLFORM.grid(db.music))

# perform login/logout/registration/etc.
def user():
    return dict(form=auth())

# allow streaming of all files, including partial content of music files
@cache.action()
def download():
    return response.download(request, db)
" > applications/audio/controllers/default.py

# start web2py and test it out
python web2py.py -a 'choose-admin-password' -i 127.0.0.1 -p 8000
echo "remember to login to upload music files"
open http://127.0.0.1:8000/audio

Screenshots: http://imgur.com/a/bp938

πŸ‘︎ 61
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Nov 22 2013
🚨︎ report
The complete web2py manual in PDF is now free for download dl.dropbox.com/u/18065445…
πŸ‘︎ 45
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Jun 12 2012
🚨︎ report
We do not call it GeoWeb2py but web2py has had GEO support for 2 years. Did anybody try it? web2py.com/books/default/…
πŸ‘︎ 22
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Dec 11 2013
🚨︎ report
new stand-alone web2py database abstraction layer web2py.com/AlterEgo/defau…
πŸ‘︎ 17
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Dec 09 2010
🚨︎ report
web2py book (4th ed) now available in HTML and PDF web2py.com/book
πŸ‘︎ 30
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Dec 20 2011
🚨︎ report
On web2py with tornado, cherrypy, paste, mako templates, the regular python shell, and propaganda (7min video) vimeo.com/21185623
πŸ‘︎ 4
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Mar 18 2011
🚨︎ report
The web2py book available in Spanish (alpha) latinuxpress.com/books/dr…
πŸ‘︎ 5
πŸ’¬︎
πŸ‘€︎ u/mdipierro
πŸ“…︎ Oct 06 2010
🚨︎ report
Can anyone explain the differences between web2py, Django, Flask, etc, and when I should use one or the other and what the benefits and drawbacks of each?

That's several big questions, but answering any if them would help. Thanks!

πŸ‘︎ 39
πŸ’¬︎
πŸ‘€︎ u/nicholastjohnson
πŸ“…︎ Jun 21 2014
🚨︎ report

Please note that this site uses cookies to personalise content and adverts, to provide social media features, and to analyse web traffic. Click here for more information.