From kde-devel Wed Oct 10 12:28:55 2012 From: Weng Xuetian Date: Wed, 10 Oct 2012 12:28:55 +0000 To: kde-devel Subject: Re: Introduce of QCloud Message-Id: <1558948.J0f9I4xUTO () chakra-zenbook> X-MARC-Message: https://marc.info/?l=kde-devel&m=134987217311825 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============3502287021844894689==" --===============3502287021844894689== Content-Type: multipart/signed; boundary="nextPart20769266.iqriacUc6y"; micalg="pgp-sha1"; protocol="application/pgp-signature" Content-Transfer-Encoding: quoted-printable --nextPart20769266.iqriacUc6y Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" On Wednesday 10 October 2012 02:30:15=EF=BC=8CPau Garcia i Quiles : > Hi, >=20 > Great initiative, I was missing a cloud API in C++. >=20 > From my 2 min skim-over: >=20 > - Why the dependency on DBus instead of making each application acces= s > directly the storage? Since at the very first, I want to have a application that can, easy to= talk,=20 can do encrptyion and packaging (from the idea that we don't trust the = cloud=20 provider), with account-application-map management, that's why daemon i= s=20 there. >=20 > - Why use the backend name directly (Dropbox* db =3D new Dropbox(); )= > instead of taking a string, enumerate or something like that? If > QCloud is going to offer a common interface (a-la libcloud, jclouds, > fog, etc), then hardcoding the classname favors code duplication >=20 Ah, this is because all backend currently is being created by QCloud::F= actory,=20 backend/ is a qplugin for core, from QCloud::Factory you create Backend= with=20 string. If you're talking about test/dropbox/, that's where I want to test drop= box=20 directly, so it usess new dropbox directly. > - Examples? (apart from the tests) >=20 Emmm... maybe you want look at kio/, tool/ and daemon/ ? kio currently list all account in the root, and can be used to browse f= ile=20 under that account. (While the dropbox api key is still under dev mode = so you=20 maybe want to write a different key into data/testapp. I'd like to state it's still in an early state though.. --nextPart20769266.iqriacUc6y Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQEcBAABAgAGBQJQdWoHAAoJEI6LiYy/JBL5V4EH/iSbXh6afxLK178hNkctOwO/ DMyzE/C7sRaSPXdWX/8+T2AErUsz5U75esq+hNaChG3znPW6ohOGRDUk093cFNkr pJQ4/RkkkVUbJkyGAz2JrYFye1Mss08yciUPcOSRlNvZmKaR4JVZerg0cAmsOUwL w31xcIVBUs216MZcSEC/XmdNkjBRmdVWMoeeZ5VIBcKpJ1mJob1I+Ao8rniRHqKJ DWsJ6aRtOuh/Flc8pj7TchiKYjGLTbL4S2DFi7hoGAYvm3YREG9qfiM5a0TAls9Q zViERekmjWiiT+N8W6nSFWThhJ9X8dWxq8kpkeCzizQ9u39uc9OyNLSWFWb8Kk0= =jR/X -----END PGP SIGNATURE----- --nextPart20769266.iqriacUc6y-- --===============3502287021844894689== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============3502287021844894689==--