En

How to Use New Login Method in Plugins and Services

This article explains how to use the new method LoginUser, added to the new GroupDocs SDK. Requirements PHP 5.3 Apache ModRewrite PHP Curl extension PHP Sockets extension (php_sockets.dll) GroupDocs PHP SDK composer.phar (Download from http://getcomposer.org/download/ or use the included version.) FatFree framework (https://github.com/bcosca/fatfree) We already know how to install the Fatfree framework and prepare for creating the sample from a previous article. The sample that we create in this article is not much different from other FatFree samples.
May 31, 2013 · 3 min · Derek Hyland

How to Upload PHP Project to Heroku? - Advanced Steps

In the previous article, we learned how to create a new PHP project on Heroku. But sometimes our project requires additional extensions that do not exist in the Heroku PHP configuration. So we need to find out how to create and install extensions for PHP on Heroku. In this post, I’ll show you these advanced steps, and create a PHP project on Heroku with the GroupDocs PHP SDK Api Samples application.
May 17, 2013 · 3 min · Derek Hyland

How to Merge Data Fields from a DOCX File with a Data Source and Output to PDF

This article explains how to get the fields from a template DOCX file, fill them with data and merge to new PDF file using GroupDocs. Requirements PHP 5.3 Apache ModRewrite PHP Curl extension PHP Sockets extension (php_sockets.dll) GroupDocs PHP SDK composer.phar (Download from http://getcomposer.org/download/ or use the included version.) FatFree framework (https://github.com/bcosca/fatfree) We already know how to install the Fatfree framework and prepare for creating the sample from the previous article.
May 3, 2013 · 2 min · Derek Hyland

Two Ways of Uploading Files into a GroupDocs Account

Working with GroupDocs SDK we usually need a GUID to work with a document. But it’s not very comfortable for users to work with GUIDs. So in your app, you can use two methods to upload a file to a GroupDocs account and get it’s GUID programmatically. Requirements PHP 5.3 Apache ModRewrite PHP Curl extension PHP Sockets extension (php_sockets.dll) GroupDocs PHP SDK composer.phar (Download from http://getcomposer.org/download/ or use the included version.
April 29, 2013 · 8 min · Derek Hyland

How to perform Callbacks with GroupDocs PHP SDK

This article explains the basics of using PHP SDK callbacks. In this article I’ll use the Convert API. Find information about other methods in the Swagger explorer. Requirements PHP 5.3 Apache ModRewrite PHP Curl extension PHP Sockets extension (php_sockets.dll) GroupDocs PHP SDK composer.phar (Download from http://getcomposer.org/download/ or use the included version) FatFree framework (https://github.com/bcosca/fatfree) We already know how to install the Fatfree framework and prepare for creating the sample from the previous article.
April 19, 2013 · 10 min · Derek Hyland

How to Compare Files with GroupDocs PHP SDK

This article explains the basics of using PHP SDK classes and methods. In this article I’ll use the Comparison API and show how to compare two documents from a GroupDocs account. Find information about other methods in the Swagger explorer. Requirements PHP 5.3 Apache ModRewrite PHP Curl extension PHP Sockets extension (php_sockets.dll) GroupDocs PHP SDK composer.phar (Download from http://getcomposer.org/download/ or use the included version) FatFree framework (https://github.com/bcosca/fatfree) We already know how to install the Fatfree framework and prepare for creating the sample from the previous article.
April 12, 2013 · 2 min · Derek Hyland

How to Create GroupDocs Viewer Plugin for Contao CMS

This article explains the basics of creating a plugin for the Contao CMS using the Contao Viewer plugin as an example. You can download the completed plugin from Contao. Requirements Contao CMS PHP 5.3 JavaScript PreparationTo create a GroupDocs Viewer plugin for Contao CMS: Install Contao CMS. The installation of this CMS is a simple. Allow GroupDocs to appear go to Admin > Setting > Security settings > Allowed HTML tags and just add at the end.
April 10, 2013 · 7 min · Derek Hyland

How to Deploy .NET Project on the AppHarbor

This article explains the basics of using AppHarbor. In this article, I’ll use the .NET SDK Samples project to show how to deploy a .NET project on AppHarbor. Requirements .NET project App account GitHub PreparingFirst of all, we need a AppHarbor account. If you don’t have one yet, please create one. Registration on AppHarbor is similar to any other site: sign up from the AppHarbor home page by clicking the Sign up button.
March 22, 2013 · 2 min · Derek Hyland

How to use rspec to test GroupDocs API - Part 2

In the first article, How to use rspec to test GroupDocs API. Part 1, we created first test for GroupDocs API. This article describes in details how tests works, what expectation and matchers are, and how to test an API with the PULL method. Expectation and MatchersSo what are expectation and matchers? Lets look at a small example: string ="GroupDocs" string.should have(9).characters string.should\_not have(5).characters Expectations are defined by should and the negative form should_not.
March 15, 2013 · 4 min · Derek Hyland

How to Use RSpec to Test GroupDocs API? - Part 1

In this article, we will review how to use Ruby RSpec for testing REST APIs like GroupDocs. RSpec is a BDD (behavior driven development) framework. You can find more info about RSpec on its official site. There are a lot of different GroupDocs APIs that you can use. In this article we will test one of the User APIs: “Get user profile”. What You NeedYou need Ruby, Gem, Bundler, and RSpec (gem install rspec) installed on you computer.
March 8, 2013 · 3 min · Derek Hyland