ryanf Posted September 19, 2005 Posted September 19, 2005 Hey I am starting to make a new osCart that I can easily make new sites off of. The one thing that I didn't like about my first site I made with osCommerce was that it seemed slow to load. One of the reasons I believe is that the tables took too long and were too confusing. That also made it much harder to modify the layout of the store. I am working on changing the layout to css. I know that it will be done in milestone 3 but I dont know when that will be coming out so I decided to try it myself. Most of my work so far has been in classes\boxes.php and it does seem to be speeding up the load time. I will be working on changing the index page and then the rest of the pages to the three column layout soon. I was just wondering if anyone else has tried this already? I hopefully plan on getting rid of most if not all of the tables used in the layout. If I was crafty, this would be a funny signature.
FalseDawn Posted September 19, 2005 Posted September 19, 2005 There are many things that can slow down the loading - I would say that using tables for layout is one of the least relevant. The boxes class hierarchy is a really inefficient bit of code as well, so rewriting this would definitely help. Yes - it would be nice to convert everything to css, and good luck with it - just don't forget to test everything on as many browsers as you can - there are still a few css foibles that are not compatible with all browsers (yet).
ryanf Posted September 19, 2005 Author Posted September 19, 2005 There are many things that can slow down the loading - I would say that using tables for layout is one of the least relevant.The boxes class hierarchy is a really inefficient bit of code as well, so rewriting this would definitely help. Yes - it would be nice to convert everything to css, and good luck with it - just don't forget to test everything on as many browsers as you can - there are still a few css foibles that are not compatible with all browsers (yet). <{POST_SNAPBACK}> I guess my main goal is to make it so that I can quickly adjust the css to make a new site layout or theme. Any other areas where I can improve the code? If I was crafty, this would be a funny signature.
skipwater Posted November 26, 2005 Posted November 26, 2005 I guess my main goal is to make it so that I can quickly adjust the css to make a new site layout or theme. Any other areas where I can improve the code? I am also looking into converting osc from a table based system to a css based system. Because it seems that the way osc is using the tables it violates The British Disability Discrimination Act and is not w3c compliant. But at the same time this would create a fork/non compatible osc. So the question is wait ms3 or 4 or go forward and just build on what we have as a starting point? As I see it no one could take the time need to add this a contribution. It would have to be a clean load and I don't think any one is running a none modified osc. Question: If you are still building how far have you gotten? If only I could remember that.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.