Re: How to structure this django application
On Sat, 8 Apr 2017, Sithembewena Lloyd Dube wrote: Do take the time to peruse the book. It would be time well spent. Also, do keep in mind that the recommendations therein do not apply to a Django blog or CRM sustem etc, per se. They would apply just as well if you were building a RESTful mobile app backend. Sithembewena, I recognized this the first time I considered using django. The problem you describe of managing users etc is just a requirements specification. The advice in the book is general enough across implementations of solutions in broad problem domains. It's not a recipe book, but more a collection of chefs' knives. My original question was not about structuring django code but the logical design of the project itself. I believe that question was answered by a message on another thread: there is at least one plug-in package that allows individual users to work in their own database area and keeps users from areas assigned to others. This is independent of the django project/app code arrangement. Thanks again, Rich
Re: How to structure this django application
Hey Rich, Do take the time to peruse the book. It would be time well spent. Also, do keep in mind that the recommendations therein do not apply to a Django blog or CRM sustem etc, per se. They would apply just as well if you were building a RESTful mobile app backend. The problem you describe of managing users etc is just a requirements specification. The advice in the book is general enough across implementations of solutions in broad problem domains. It's not a recipe book, but more a collection of chefs' knives. Best regards, Sithembewena On Apr 8, 2017 01:34, "Rich Shepard"wrote: > On Sat, 8 Apr 2017, Sithembewena Lloyd Dube wrote: > > My best recommendation for structuring Django projects (and for >> optimization and a myriad other goodies) would be the book Two Scoops of >> Django by Daniel and Audrey Roy Greenfeld. I could say a lot but the >> bottom >> line is, check the book out. It's at https://www.twoscoopspress.com/ >> > > Sithembewena, > > I have that book (the 1.8 version); pulled it off the shelf earlier today > to read again. > > There are various factors to consider and this book (to me, at least) best >> encapsulates all those. I believe that it also applies for newer versions >> of Django than v1.8. >> > > What I need to build is different from a blog, newspaper, e-commerce, and > similar sites ... I think. In those, every visitor/user sees the same views > and has the same options. > > My proposed application needs to be slightly different for each category > of user and keep each in his/her own private section. How to do this may be > in 2 scoops, or may not. If I don't see how to do this I'll be back with > more questions. > > Thanks, > > Rich > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCBMuQE%2BPMr4qW5fR6tY1FTdG%2BLJ7-yMYz3eQJL5JkDsUw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
Re: How to structure this django application
On Sat, 8 Apr 2017, Sithembewena Lloyd Dube wrote: My best recommendation for structuring Django projects (and for optimization and a myriad other goodies) would be the book Two Scoops of Django by Daniel and Audrey Roy Greenfeld. I could say a lot but the bottom line is, check the book out. It's at https://www.twoscoopspress.com/ Sithembewena, I have that book (the 1.8 version); pulled it off the shelf earlier today to read again. There are various factors to consider and this book (to me, at least) best encapsulates all those. I believe that it also applies for newer versions of Django than v1.8. What I need to build is different from a blog, newspaper, e-commerce, and similar sites ... I think. In those, every visitor/user sees the same views and has the same options. My proposed application needs to be slightly different for each category of user and keep each in his/her own private section. How to do this may be in 2 scoops, or may not. If I don't see how to do this I'll be back with more questions. Thanks, Rich
Re: How to structure this django application
Hey Rich, My best recommendation for structuring Django projects (and for optimization and a myriad other goodies) would be the book Two Scoops of Django by Daniel and Audrey Roy Greenfeld. I could say a lot but the bottom line is, check the book out. It's at https://www.twoscoopspress.com/ There are various factors to consider and this book (to me, at least) best encapsulates all those. I believe that it also applies for newer versions of Django than v1.8. Best regards, Sithembewena On Apr 8, 2017 00:53, "Rich Shepard"wrote: > Caveat: I'm not a professional coder or web developer, but have written > many applications over the years. Because I'm also new to django I need > insights into how to structure an application application supporting > multiple users, each in its own private section. > > This application will allow my clients to upload data to the web site, > each in his own space. Data will be stored in a postgres-9.6+ backend. > Generated reports will be available for download. > > I understand that a django application has many 'apps' in it and is not a > single-file framework. If there is an example of how to set up and > structure > such an application please point me to it so I can learn from success. > > Pointers, references to docs or web sites will be appreciated and used. > > TIA, > > Rich > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAH-SnCBJniLDgeieJNskxoNpBrCE-b_rAuQh2zpj63PSUznM-g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.