I'm trying to build a CMS which can be updated either via the backend interface of the CMS itself (based on codeigniter) or through a google docs spreadsheet that syncs to the MySQL db.
Anyone know of any resources / existing scripts that could help accomplish this?
The mechanism should ideally accomplish the following:
Image:
https://www.dropbox.com/s/yll7gakhq6y3mdq/Screenshot%202015-01-30%2021.03.00.png
you have to develop this functionality using google spreadshet API https://developers.google.com/google-apps/spreadsheets/#updating_a_list_row
Related
I tried to create a plugin for Wordpress in React, I saw several tutorials but most of them out of date.
Do you know any guide or documentation which can help to build just a dummy component in React which can be used as a Wordpress plugin with a simple install?
You can create API plugin in wordpress and then use it in your react-native project. First you will need to create a plugin, for whatever data you want to share between your wordpress site and React APP. you can take a look at the link below.
https://developer.wordpress.org/plugins/intro/
and also you will need to learn about wordpress REST API, for that you can look in offical Wordpress REST API HandBook,
https://developer.wordpress.org/rest-api/
Once these things are done you can, use the api's you have created in your wordpress to communicate with your React-App, React has builtin FETCH API that can be used
https://reactnative.dev/docs/network
wordpress already has a build-in, which you can use to fetch posts, media and different things from wordpress site, and use react-native Fetch api to pull the data from your wordpress site.
I'm fairly new to the Codeigniter and MVC framework, I'm building a content management system (CMS) and I've got the basics done.
I need to be able to search through my companies databases and compile reports based on the results, does anyone know of a good library for this or am I going to have to build one from scratch? I'm using the latest version of CI and I'm using the ion_auth authentication library for my user login, all this is working great!
Check out this thread on
CMS based on CodeIgniter
If this is more advance stuff and you wanted simple crud tutorials (Create update and destroy data) check out : http://avenir.ro/create-cms-using-codeigniter-3/ and for documentation check out https://www.codeigniter.com/user_guide/
I'm using some open source code to launch a game. The game is old, around 11yrs. It is a tick based web based game. It's written in php and using MySQL. Basically I want to port this game to ios, instead of using uiwebview I want to build native controls.
I know that it's bad practice to communicate directly with MySQL from an ios app. So what I want to do is add a RESTful API. I'm new to this and have scoured google for answers, does anyone have any pointers of where to start when adding an API to an existing site? It's quite a complex structure.
Thanks.
Paul.
My suggestion is using a framework that is guided towards building an API. I use Slim Framework for my API back end and it's pretty easy to use. If you create a separate URL for this API or include directly into the PHP project as a class it could work.
Some tutorials to get you started are
Say Hello World with Slim
RESTful services with jQuery, PHP and the Slim Framework
Writing a RESTful Web Service with Slim
Hope this helps,
Wes
I am starting a new opensource project. This will be a web app with modern layout/functionalities. I want this app to work like gmail/facebook/google group.. or some other google products. I want to load all the js/css and other assets only one time and load part of pages using ajax request.
I want to use PHP (maybe cakePHP, jQuery). I know how to create this kind of app from scratch, but i am looking for some kind of opensource framework which will help me to not create everything from scratch.
Any help would be appreciated.
There is a php framework called Elgg (http://www.elgg.org/) which is a php framework designed for social networking based applications.
I'm working on syncing events from our project management DB into a google calendar using PHP.
Creating events in GCal works fine, but deleting them is proving to be a real pain, especially as there aren't any examples on how to do it.
Has anyone done this before in PHP (not on Zend Framework)?
Why you dont want to use zend?
Give a look at php nusoap class, but i strongly raccomand Zend.
It's the simplyest way to do that: here you'll find the full php google calendar api, and here how to delete events.