Alfresco webscripts File upload directly to alfresco repository - file-upload

I've been going through CMIS model in general and how to use Alfresco as CMIS repository in Alfresco Wiki and Documentation(I installed 4.2d on Windows). I am confused about many things but here is what I need to know right now:
Is there any portlet webscript i.e something I can call from my application that opens like a popup or something close available that Alfresco provides to upload files directly to Alfresco repository. If not could anyone point me to the resources from which I could build one. I would like to access repository in CMIS way preferably. There is something in alfresco/services/cmissamples/upload. Can I use that?
I saw that each of the rest URIs can be appended with alf_ticket. But the thing is URIs work even without alf_ticket. How can I make it mandatory and how can I make folders of that user only to be available for browsing or uploading files.
Any links or examples of using Alfresco as only back end repository with own ui of the application will be helpful.
I found that many of the paths in docs/wiki are incorrect.

check this two links. It should give you good pointers on CMIS and webscripts-
http://22ecmoncloud111.blogspot.com/
http://sumantapakira.wordpress.com/

Alfresco provides file upload API to upload file. Please check following link which provides example and more details for the same.
http://basanagowdapatil.blogspot.in/2011/10/how-to-upload-file-to-alfresco-share.html
http://blog.mwrobel.eu/uploading-big-file-alfresco-web-services/

Related

Syncing Route 53 static website to github website repository (allowing offline/destop editing)

I have had a github.io website for quite some time, and want to move it over to it's own domain name. Currently, I have transferred all the files to the right S3 bucket and I can access the website all the same as I can my Github. However, I want to be able to edit individual files in a desktop app (such as SubEthaEdit or Brackets), like you can in Github, which to my knowledge you cant.
I would like to be able to migrate the Github website over to the domain name, so that when I edit, save, and push a commit from the Github desktop using SubEthaEdit, it would be automatically updated on the domain website (ideally). Either this, or they share a library that is still accessible from the Github desktop app. I really just hate editing files using S3's editor, or having to download and re-upload any document I am working on.
Im quite new to any sort of coding or programming languages other than a little bit of javascript, apologies if the language I used is, shall I say, sub-par.
Got It!
#ceejayoz helped to point me in the right direction.
after some fiddling, I got a CNAME record that points towards my github website, while maintaining https.

Create network file share from an API

I am exploring the possibilities of exposing an EMC Documentum folder, and the files/folders within, as a network file share.
The reason is so we can enable another application to read and write files to what it thinks is a standard UNC path, but really the repository is in Documentum.
That Documentum product doesn’t seem to offer this, however does expose an API.
A few thoughts here were a bespoke ‘driver’ for SAMBA, possibly something using WebDAV, but really I haven’t investigated these much yet, so both may be unviable.
Basically, how can I wrap an API up to look like a network drive?
I’ll keep self exploring this but hopefully someone can provide some leads here too..?
Update: using FUSE for Linux.
Documentum "folder" as you see it is not something like Windows folder. It is a database record of object with its related properties. Nothing else.
Documentum "documents" are somehow more related to Windows documents but still are only database record of objects with related properties and specific content stored somewhere in storage. Storage can be something like:
file share on Windows / Linux OS
specialized storage soluton like
Centra
specialized storage cloud solution
So you have misunderstanding of what you call Documentum folder. Your requirement can still be achieved in some way, thats for sure.
For example you could make integration between windows folder to Documentum via Spring Intergration framework (SI) from Windows folder side and at Documentum side implement listeners to hook SI and implement BOF (Business Object Framework) services to process events from SI. This is just one of the options.
Technically it is possible to create an interface to Documentum repository using any standard (SMB, CIFS, WebDav, IMAP, .... ) which can represent a document.
The fun task / hard part is mapping Documentum functionality to your chosen standard.
For example: back in 2013 I wrote a basic proof of concept Webdav interface to Documentum repository. I used the Miltion WebDav java library (http://milton.io).
With a WebDav interface, the Documentum Repository was exposed to a Windows computer as a drive using Add Network Location.
We identified that we can use FUSE on Linux.

Can I find any free solution for storing my files online?

I am developing an application which needs to fetch some data from an XML file for the automatic update process and for some other functions. This approach requires the files to be located in a direct link, so it can be hard-programmed to use that specific URL.
I heard that you can use a lot of free-to-use file-sharing services such as Google Drive, Box and Dropbox. Can you tell me if it's true or not? And are there any other services beside those I mentioned?
I don't need a web hosting that supports PHP and other frameworks, I just want to store files and make my application access it when required.
Yes, both Dropbox and Google Drive provide web hosting of your public folders, but there is a 10GB bandwidth limit with Dropbox.
You can use any free web hosting like 110mb or 5gbfree too.
You can try github, bitbucket or mega.co.nz

Homework: What to submit as part of a Rails project

I have a very simple Ruby on Rails project that has an ActiveRecords model with some validations, and a pretty basic view and controller that allows basic add/update/delete/search interaction with database.
I'd like for the professor to be able to use the website, assuming he has Rails3 installed.
What would be a good way to submit this project? Specifically: what files and folders should I include, and what files should I exclude? What about directions for the professor? Anything else that I should include?
I think that a good idea will be to develop your project locally and then uploaded to a github repository for the professor to see your code. If you want a free, easy and EXCELLENT place to host your application try heroku, it is a cloud application platform where you can host your project(if you use a shared database < 5MB you will be able to do it with the free plan). I recommend you to include a README file a the root of your app where you add all your directions.

Where to save the uploaded files?

I am developing a web application to upload .mp3 files and need to play them. I successfully uploaded the files and saving them in C:/uploads folder. I understand that as it's a web application we need to save them in the Apache web server it self. But I am not sure, where to save them.
Thanks,
Serenity.
You can use content repositories to store uploaded data, I think this is common approach. For instance, take a look at the Apache JackRabbit CR, applying it you won't easy look for uploaded files on hard drive, but you will have web interface, and also some other tools available to connect to repository and show you files there etc.
As alternative to JackRabbit, you can try Alfresco CMS, they both implement JCR, other implementations are listed here (you will them at the bottom of that page).