Google Calendar - how to delete entries using PHP? - php

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.

Related

Interacting with TFS using PHP

I need to develop an module that interact with TFS for our internal office application, but the project is in php, i have done searching a lot, but could not find a sdk or api in php that could do the following.
listing the work items for a tfs user
creating / modifying work items.
View work item details and get attachments
modifying work items
can anybody suggest an api / sdk that could do the above said actions,
note: we are not interacting with Visual Studio Online, we are using hosted tfs in our own premises.
thanks in advance.
Use the Java SDK for TFS and the PHP/Java Bridge and then try something like this (psuedo code only)
<?php
require_once("java/Java.inc");
$tfsTPC=new java("com.microsoft.tfs.core.TFSTeamProjectCollection","http://tfs:8080/tfs/DefaultCollection");
$projects = $tfsTPC->getWorkItemClient()->getProjects();
?>
P.S. My PHP knowledge died a long time ago, so I'm not sure if the sample code is quite right, but hopefully you get the idea.
Also, even though it's the Java SDK you're using you should be able to follow all the C# samples since the SDK methods are almost identical between the .NET and Java SDKs

Adding REST API to existing PHP website

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

Codeigniter and Google App Engine

I've made my entire site using the Codeigniter framework, and it is working well without any hassles (Note I'm using MySQL in the website).
I've been told now to try and get it on to the Google servers as they are excellent for scalability. I just have one huge problem, is there any way or step by step tutorial that helps me do this as I've read up on Quercus which allows for the php to run but I haven't found something explaining how to use the Codeigniter framework with the Quercus.
Please any help or push in the right direction would be appreciated!
We announced Native PHP support for Google App Engine at I/O.
https://developers.google.com/appengine/docs/php/
After Google announced native PHP support I decided to deploy CodeIgniter on Google App Engine. It works natively, tough certain extensions to the core must be done in order to use PHP Runtime API.
I've started writing a series of articles you might want to check out which document and clarify the process of deploying CodeIgniter natively.
http://blog.programming4design.com/codeigniter-on-google-appengine-for-php/
PHP is being added natively to App Engine, maybe this year, but I'm not sure when. The App Engine Team announced this on the parntership event at Paris last week.
CodeIgniter works fine on Google App Engine's PHP.
Working Demo at : http://ci-on-gae.sasidhar.com/
Source files for the entire above demo site are in Github at : https://github.com/sasidhar/codeigniter-gae-app

How can I integrate webconnector and my own website with using only PHP?

I am trying to integrate webconnecter and my own website for automatically syncing from website to quickbook software..
I am trying keith parmer's webconnecter and his php dev' kit.But I think I need to create a web service with C# ,to connect each other..
(I am not fluent in C#.
I need a solve only from PHP..)
these are my references
http://www.consolibyte.com/wiki/doku.php?id=quickbooks
and
http://developer.intuit.com/qbSDK-current/doc/​PDF/​QBWC_​proguide.pdf
I think I am confusing through the lot of codes and reference guides...
Please some one help me to reach to the correct path.
Download the QuickBooks PHP DevKit, and follow the quick start guide.
When you have questions, use the support forums:
https://idnforums.intuit.com/categories.aspx?catid=56&entercat=y
http://consolibyte.com/forum/
You might want to try the search too. There's like 100 other threads about QuickBooks and PHP out there already, and Google provides a ton of QuickBooks PHP search results.

Integrating iCalendar in Moodle

I am working on a Moodle project and I have downloaded and installed the latest build(1.9) on my system. I'm using this framework for the very first time so presently trying to get familiar with the environment and the documentation.
My need is to embed an iCal kinda calendar on Moodle's front page using the PHP iCalendar API. I downloaded the latest version of PHP iCalendar but kinda needed some help figuring things out further. I am trying to build a plug-in sorta thing which allows you to put a custom-built calendar (in place of the regular Moodle calendar) on your Moodle site.
Has anyone ever worked with something similar before? Any suggestions?
On moodle.org, there is a change request for this feature in the Moodle Tracker that you might want to follow:
Calendar: IMPORT or Subscribe to iCal feed into Moodle calendar
.
You could try looking at the module development text. It could be fairly easy to do, but I haven't really worked with moodle that much. http://moodle.org/
This feature is currently a feature request in Moodle, but may take several version before it comes it becomes a core feature see the feature request here http://tracker.moodle.org/browse/MDL-16660.
The current workaround seems to be to use one of the commonly avaliable web based calendar system to import your ical feed and then inserting a html snippet into moodle to view it.
The obvious example would be to use a public Google calendar to do this but there is also:
http://assignaday.4teachers.org/
http://www.localendar.com/elsie
Reference:
http://moodle.org/mod/forum/discuss.php?d=82855

Categories