Hello everyone, 1) I know web2py provides the DAL, however I have already Python code (let's call it "third party") that connects to a MySql database, has some classes that hold the data, and returns objects that contain data that I need to display in the website and not just display but of course I want to be able to change the data in the MySql databse by using this Third Party module. I am new to the MVC architecture and I kind of see how web2py is using the "Model" part of it with DAL. So, if my third party code deals with the database, does that mean that I just do not use the Models part of the web2py and I just import all the third party modules inside my controllers? (This is the first option.) I did try importing the third party modules and I can successfully retrieve data inside my controller, but I am wondering if this is the way to go...I mean I want to have a nice designed website. I am a bit new with building websites and so I also want to know what is the proper way to design and integrate these two components: my third party code with web2py.
Or as a second option, I was thinking to create some more files inside the Models and import those third party modules in there? Not sure how will work though since the models is all supposed to nicely work with DAL. I will need a few hints on how to set this up. I kept reading that Web2py is compatible with MySql, but how does that work? 2) Also, since I am new to web2py, the reason why I tried it is because everybody says that is pretty easy to get started (easier than Django). I like it so far, but I feel like I am reading and reading and reading, but I still 20 questions about how to build the website I want and feel that is taking a bit longer than I expected (maybe just because I am relatively new with MVC and am not a pro yet in building websites especially in python). Does anybody recommend a good way to get started with web2py? Like I kind of did the first part of Overview Chapter, and then I went over the The View Chapter and now I am starting to read about the core...and I somehow wanna see how I can build my website after reading all this. Any suggestions would be useful. The main core part of my website is to work with this third party code and to use JQuery and Ajax to update things that it displays on the fly data from the database. Thank you for reading and thank you in advance for helping!