My first CI WebSite |
[eluser]Juan Velandia[/eluser]
Hello everyone, after 4 weeks learning CI, this is the result: http://www.oeeltda.com.co/ It isn't finished yet, and surely is full of mistakes, but this is to show you that I wasn't just wasting your time, thanks a lot for your help.. If you want to see the code you can download it from here: http://www.oeeltda.com.co/ci1.tar.gz Any suggestion would be greatly appreciated!
[eluser]mohsin917[/eluser]
well done juan.. I also started CI 1 month ago but not completed my project yet. Because of having trouble with my BOSSS. I hope you find this framework very useful and easy. And try to make your libraries and also share with us ![]()
[eluser]mohsin917[/eluser]
One thing more. In your code you are not using model section. Use the query part inside your model. Make function in your models and load them in your controller. The Concept of controller is to control the traffic flow. In your code you are performing the model part inside your controller. Well it works perfectly but not the appreciated approach. In case of developing a big website, not following the basic MVC architecture properly, code become more complex.
[eluser]Juan Velandia[/eluser]
[quote author="dyrer" date="1268191060"]Very good work and thank you for the source code[/quote] Thanks for downloading, It's a beginner's work, but i'll be happy if it gives you some ideas Regards!
[eluser]Juan Velandia[/eluser]
[quote author="mohsin917" date="1268239262"]One thing more. In your code you are not using model section. Use the query part inside your model. Make function in your models and load them in your controller. The Concept of controller is to control the traffic flow. In your code you are performing the model part inside your controller. Well it works perfectly but not the appreciated approach. In case of developing a big website, not following the basic MVC architecture properly, code become more complex.[/quote] You are right, I haven't studied enough the MVC, It's just a matter of time. Thanks a lot for your suggestions, I will improve my coding with a little help from my friends. Good Luck with your BOSS
[eluser]Mareshal[/eluser]
very nice, but a few tips, maybe not the best but I apply them: http://www.oeeltda.com.co/index.php/home/section/2 avoid such long URLs, you could make it /section/2 , without index.php and your home controller, use mod rewrite and CI's routes ![]() edit: check this link: http://www.oeeltda.com.co/index.php/home...n/sdf3getr - WHAT'S THIS ? Code: A PHP Error was encountered ![]()
[eluser]Juan Velandia[/eluser]
Hello Mareshal, thanks for the tips could you post where can I a tutorial about: - CI’s routes - validate data before input - global xss clean I`ll really be thankful |
Welcome Guest, Not a member yet? Register Sign In |