silvioprog / brookframework

Microframework which helps to develop web Pascal applications.
https://github.com/risoflora/brookframework
GNU Lesser General Public License v3.0
170 stars 37 forks source link

Brook and Amazon S3 #14

Closed silvioprog closed 7 years ago

silvioprog commented 11 years ago

It would be interesting to Brook have a broker or plugin implementing the Amazon's S3 service.

silvioprog commented 11 years ago

Partial implementation at: http://brookframework.org/tmp/brookframework-20130217-2112.zip

mdbs99 commented 11 years ago

Is this already works? Is there an example?

mdbs99 commented 11 years ago

If this is not working yet, I would like to contribute. Please, tell the branch or directories that is was implemented.

silvioprog commented 11 years ago

The HTTP(S) party with support for FCL/Synpase is ready. The next part to be implemented will be support for OAuth. I had some drafts working fine, but I believe that I deleted it from my DropBox account. :(

But it's not difficult to implement it, in a short time devoted to this we can apply directly on the Brook. I'll need your help. :)

mdbs99 commented 11 years ago

Maybe one these can be used: https://bitbucket.org/reiniero/fpctwit/src/5fefec8d7fbb3c48bc8bef7f71bf028e990c659e/oauth1.pas?at=default http://oauthdelphi.svn.sourceforge.net/viewvc/oauthdelphi/OAuth.pas?revision=2&view=markup

mdbs99 commented 11 years ago

The HTTP(S) party with support for FCL/Synpase is ready.

But Synapse already had support for HTTPS. Which part of Brook's code do you talk about? Please, point where is these codes... where do you can open a communicate with S3?

silvioprog commented 11 years ago

Some answers here: http://lists.freepascal.org/lists/fpc-pascal/2013-March/037115.html

silvioprog commented 11 years ago

After much thought, and after discussion with some friends, I arrived at a conclusion: it will be open source and will be implemented directly in Brook framework YES! :+1:

Sorry, but I can't dedicate myself 100% to this now, because I need to do some activities where I am paid (a big brazilian ERP, called as Duall System). But as soon as possible, and I pay my bills, I will dedicate myself fully to this implementation and it will come out as soon as possible (it can be implemented on two or three days). I could do it before if someone remunerate me for the hours spent, because really I need pay my bills at the moment hehe... (my cost of living has greatly increased, because recently I had to change of city because my new job)

reiniero commented 11 years ago

@silvioprog: nice! Very good decision IMO

@mdbs99 "Maybe one these can be used: https://bitbucket.org/reiniero/fpctwit/src/5fefec8d7fbb3c48bc8bef7f71bf028e990c659e/oauth1.pas?at=default http://oauthdelphi.svn.sourceforge.net/viewvc/oauthdelphi/OAuth.pas?revision=2&view=markup"

I'd choose fpctwit:

  1. it supports Synapse already, is modular so it can support other transport providers (FCL httpclient once it has https support, Indy..)
  2. Most importantly, it works on FPC. AFAIR, oauthdelphi does not work on FPC. (And yes, guess the author of fpctwit ... ;) )
mdbs99 commented 11 years ago

@reiniero Thanks for the answer.

@silvioprog There are some good news about this implementation? Thank you.

openand-inc commented 7 years ago

Thank you for resurrecting the Lazarus. Please also let it enter the record the request for:

Also the app framework on Delphi is ugly to start with.

The app development version of Lazarus ;) needs a set of components and an interface like Xamarin.