Accessing Azure blob storage using Codeigniter - php

I am looking for a way to do this.
Is it possible, if so how?
Thanks

Yes, not specific for CodeIgniter, but the Windows Azure SDK for PHP should have all the functionality you need.
It's also created by the Microsoft Windows Azure team, so it's officially supported.
Blobs
create, list, and delete containers, work with container metadata and permissions, list blobs in container
create block and page blobs (from a stream or a string), work with blob blocks and pages, delete blobs
work with blob properties, metadata, leases, snapshot a blob
REST API Version: 2011-08-18

Here's a codeigniter library that might help you
https://github.com/thomasantony/codeigniter-azure/

Copy the WindowsAzure directory of the downloaded archive to your application directory structure and reference classes from your application.
https://github.com/Azure/azure-sdk-for-php

Related

how to use use mobile application build / zip file

I am totally beginner in mobile frameworks. I do not understand how to use use application i build using IntelXDK?
They offer build for different mobile platforms. As a result i have dmg (for) and zip files (WebApp).
I need to upload them to remote server.
How to make a functioning website from said files?
Actually, i also want to add Symfony2 back-end.
Do i have to add back-end for each build separately?
Seems that *.dmg files are programs to be run on Android.
For website build, you just have to upload zipped build and than unzip it in your server sub-directory and website will be working.

How to host and manage databases for web development?

So I've been learning the main technologies for web development and I really wanted to know what are the best options to store and manage my databases.
I have been using XAMPP to store all my files, HTML, PHP, JS and so on, but how do I manage my databases?
Any suggestion on how to keep track of the data on them?
Its best for you to work locally on xampp other than using other local servers. for startup its most easy for you to use. http://localhost/phpmyadmin is platform where you will be able to manage your database . xampp/htdocs/Yourfolder will be place where you can manage your project files .
Choose your favorite editor .
hope you understand
Use XAMPP only for development!
Normaly you have a Webserver and a Database server (like MySQL or PostgreSQL).
On the webserver there is a directory called "www" or something like that. Within that dir all your files go in.
On the database Server you have your databases.
But you can't "keep track of the data". A database is a folder with some files that can only be read by the database.
If you want to import/export/backup the data, there are manager tools to write the data into an extra file / read data from an extra written file.
Take a look at phpMyAdmin - allows to manage MySQL databases visually through the web browser
One of the best ways to create and manage databases on a server is via PHPMyAdmin.
First you will need to install MySQL on your server and then install phpmyadmin into a sub folder of your websites root directory.
If using linux both of these steps are very simple and there is numerous guides on the topic.
After that you can use PHPMyAdmin to import an existing SQL database or create new ones from scratch.

Web server code to interface with Core Data SQLite file?

I am building a service where users will integrate my app with a website. Part of the story is that they will upload their Core Data database. Is there a toolkit or library (preferably PHP) that is equipped to read Core Data sqlite and manipulate them?
If it's SQLite then any SQLite client should be capable - the whole point a rDBMS system is that the schema is described by the database, therefore the fact it contains an Apple Core Data model is irrelevant. You've tagged this as PHP, what happenned when you tried to ccess it using PHP?

Updating static files on Amazon S3 from Zend application

we inherited Zend project, which hosts all static files (css, js, images, ..) on Amazon S3. Original programmer told me, that deployment is automated, but when I update new (for example) css file on server, on S3 is still old version.
Same guy linked me this article: http://www.labnol.org/internet/lower-amazon-s3-bill-improve-website-loading-time/5193/, where is section "Implement Caching for Amazon S3 Files". I added ?v param for my css file, but it didn't help.
I set permissions in Amazon S3 console for user "info" (I'm logged as info#domain.tld) to: Open/Download, View Permissions and Edit permissions for mentioned css file.
Is it possible, that Zend can update static files on Amazon S3, or it's bad info? I tried to search in Zend doc, but unsuccessfully.
Thank for help
Zend Framework does offer a component to connect and work with Amazon S3. check out Zend Framework S3
It dosen't matter what kind of file (object) it is, it can be updated.
If you can find it post some of the update code and maybe someone can troubleshoot it.

Amazon S3 folder manipulation with PHP

I have one instance in Amazon EC2. It is a Photobook. User can signup and upload images and they can create a photobook. S for that we want S3 storage. I searched a lot for a good PHP class to manipulate these folders, images and html files.
Now I have no idea how we can create folder, delete folder and search for a folder.
Can anyone help find a solution for these folder/image manipulation requirements like create , search, delete?
The official PHP SDK?
http://aws.amazon.com/sdkforphp/
http://aws.amazon.com/php/
Good question. I was trying to do it now and didn't found the answer in any documentation.
So I discovered that you just need to send the entire path in $keyname parameter:
folder/my_file_name.jpg
The S3 service can recognize and creates automatically the folders.
I think as me, you were looking for a method create_folder-like.
Easy and tricky.

Categories