I am developing a e-commerce application like flipkart. I want the code for product rating system. I am using codeigniter framework. Does anyone know about that?
Here are some simple tutorials:
Star rating with jQuery and Codeigniter
Implement a star rating with a CodeIgniter
For more you need to create something more complex and more better.
Related
I'm new to Laravel, in codeigniter we can use something like HMVC to make our code modular and reusable. what is the best approach in laravel? for example lets say i created a artwork gallery, how can i use it in my next projects as a module?
In the last 3 months, i have learnt html, css, js and php and now i'm trying to learn Framework Codeigniter. My teacher gave me a rough idea abt MVC and asked me to download a project made on codeigniter from internet and edit it.
I downloaded a login form project and tried to read it. But i'm still kind of confused how everything works. i hv 2 questions:
What is the correct approach to learn codeigniter?
In how many days one can learn codeigniter? (i practice around 6-7 hrs a day)
The best way to learn codeigniter is to read the manual of codeigniter
Because, codeigniter framework is so much popular for their well formatted and clean documentation.
Or you can check this for beginner level tutorial
Or if you want to learn codeigniter by doing practical projects then you can follow this link
I learned CI over a weekend using this technique.
Start with simply setting up a 2 page site.
Home and About Us.
Pass simple string variables from the controllers to the views.
Next, bring a model into it.
Make a method in your model that returns some plain text, to the controller and finally to the model.
Next, make the model actually make a request to your database and return the result to the constructor then view.
After that try these:
write a helper function
Try making a basic route
Log a debugging message
upload a file from a form using the upload library
That's a good grounding in CI
Keep in mind Codeigniter is no longer in development also.
If your keen on sticking with PHP, you might want to check out the similar active project called "Laravel" after getting the hang of CIs very simple MVC structure.
Good luck!
the common way is read their manual and follow the guide, the another approach is search youtube for codeigniter turial, there are many good tutorial out there and easy to follow for example here is my result in the first place for keyword "codeigniter tutorial"
https://www.youtube.com/watch?v=BP9NRZXOvIw&list=PLIQyGVrcLTeXsq37O7IBGaUwu6xEwqBWV&index=1
I am trying to learn backbone.js to make a web application.This is my first time with a javascript framework and I am fairly confused with some of the stuff.
I have been developing in codeigniter for a while so I do have a understanding of the MVC architecture.
My question is how do I get the data from the backbone.js front end to my codeigniter controller and save it in the database. for example to implement a simple login/register functionality with CI and backbone, how should I proceed. If anyone can guide me step step then that would be great or point me to the right resource. Thank you.
PS: I know that I have to implement a REST api with my codeigniter but I don't know how? so if someone can provide a basic controller example it'd be really helpful.
Here's a tutorial to use the API mentioned in the above reply (by the author of the library himself)
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
I've written a few joomla components but feel like I could write them better and more efficient. I was hoping someone can recommend me an example I can download which follows mvc and is written well .and I'm not talking hello world, something with many features. joomla 1.5 only
com_weblinks in default Joomla! 1.5 installation is the only component which is fully written with Joomla 1.5 MVC.
I suggest you to look at it when you're writing a new component - that's what i do.
Have you followed the tutorial at joomla docs? I know it's a "helloworld" example, but it shows how to implement a model using the database, the controller, and the view. I think it's a good point to start.
http://docs.joomla.org/Tutorial:Developing_a_Model-View-Controller_Component_-_Part_1
I've been lookinfg for few hours in JED, google and polish joomla center, but I cant find anything like this.. I need a timetable component for Joomla. It should look more or less like this: http://www.salsapicante.pl/grafik - on the bottom. I'm sure they are not creating it manually..
I found some complicated calendar components, but they all have features I dont need and I can disable.. I just need simple table that client can edit from the backend without using html.
Thanks in advance
I use JCal pro, it's one of the best calendar components and very reasonably priced.
Here is one of my client sites using JCal - http://mckinneyacademy.com/mckinney-calendar/200