CodeIgniter and Grocery CRUD - codeigniter

Just a question to clarify things.
I have just started using CodeIgniter with Grocery CRUD, searching around i have found books and code examples for CodeIgniter but extremely little to find about Grocery CRUD, and for a "newbe" the Grocery Crud website and examples are not very easy to understand.
so, the question is:
What is the difference between these? i have read in the CodeIgniter documentation that it also have a CRUD....
Am I right to presume that Grocery Crud is a "plug-in" to CodeIgniter? so i could create the whole website with user management etc. in CodeIgniter and use Grocery Crud as a plugin where needed?
Is there any better places to get Grocery CRUD tutorials and code examples?
does any books exist about Grocery CRUD?
I am a "newbe" so please be gentle.
Thanks for any answers and pointers.

Sorry to disappoint you but there ain't any book availed for GroceryCrud.
As for examples, the ones given on the site under documentation are as brief as required. Rest, many examples are shared in the documentation. If you looking for something like a cookbook, there ain't anything yet available. Many solutions that you may require are already put up inside grocerycrud forum. Users have been curiously asking for solutions and maximum of the issues are all resolved.
You can surely look around for the solutions inside the forum. If you still have queries, you can freely ask up in there, someone or the other must be answering in.

Related

CS-Cart: integrating Fishbowl

I am developing a cs-cart based website and my client wants to integrate Fishbowl into his website.
I have searched an add-on for it, but there is no one for me.
I have experience developed a simple add-on and, now I am going to build one add-on to integrate fishbowl.
Please guide me if you have solid experience on integrating fishbowl and cs-cart or another warehouse solution for cs-cart.
I don't understand why the fishbowl doesn't provide or developed the add-on for it.
Please help!
Thanks for reading!
Well, there are a few things to watch out for, and therefore a number of options.
Firstly, what does your client really want. Does he want the stock to be updated on the fly, or once a night? If the client wants to stock to be updated on the fly you will need to add some sort of post function for updating products to also execute your code. If your client wants it only once a night you could just get away by sending every product in the database (with your selected columns).
Secondly, try using object oriented code. If you are really into PHP you will know what I mean by this. Otherwise dont bother (or try learing PHP Object Oriented), though I must note that this can make your addon significantly faster.
Thirdly, use the provided dbquery function
If you have any more questions regarding this, feel free to ask.

Octopress has a pasword protected plugin?

There are no signs of questions in stackexchange regarding this one and I have done the reasearch. Having said that, I have to protect blog posts which are personal related but always wanted to let it stay online without me having to worry about access - the soultion is password protection as I used to do in Wordpress. e.g: https://pwntoken.wordpress.com/2015/02/17/real-world-penetration-testing-a-gh0st-from-offensive-security/
My question is something similar among those solutions which wordpress plugins provided are possible over the octopress framework? how do one accomplish this?
Ben Balter has really nice way to go. See https://github.com/benbalter/jekyll-auth

Newbie with Spring MVC, correct usage

I'm starting with web development and Spring MVC.
I currently have a good knowledge about create a simple CRUD.
But now, I need to do something more advanced.
I need to create a CRUD to an entity with details, like a Invoice with items/products.
What is the best way to manage this CRUD without persist the Invoice with no items?
How can I persist the entity only when the user ends to enter the fully data (invoice + items) ?
How will be the Controller to do this?
I already found this Explain this Spring MVC Controller behavior, but it doesn't clarify my questions.
Thanks!
Beto, have a look at the spring.io/guides page for clear examples of how to do this.
Especially review the 3 big tutorials at bottom of page (best one is http://spring.io/guides/tutorials/web/).
That will give you good answers and explanations behind them.

What is the correct approach to learn Codeigniter?

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

magento manage CRUD operations on custom tables on backend

I added 2 tables, for now, maybe will need more and I'm looking on how to add an administration page on the backend side. I found this SO question Magento: Custom Module: How to Manage with Multiple tables that is extactly whay I need. The answer given is just, in my own words, that's too dificult to achieve and too long to explain in SO.
So, anyone willing to share some link, tutorial or DIY step by step explanation? I've already my models working and configured, thanks to #AlanStorm tutorials. I'm doing CRUD operations from within my code but I need to do it from backend on a window for administration purposes.
I thought this Magento Custom CRUD Application Tutorial would help me but it involves using magento ModuleCreator plugin and is not working for me on magento 1.7.0.2. Also I already have my own module fully configured so lot of what module creator adds is not needed.
Found this sample/tutorial/code but I'm having hard time following it, lot of obscure points and not sure what I'm doing, even if it is correct.
You could definitely benefit from some adminhtml grids, there are no shortage of tutorials if you look for them. I wrote my own which I now shamelessly plug here.

Resources