{ "info": { "author": "Andrey Tkachenko", "author_email": "falko.lab@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Zope3", "Intended Audience :: Developers", "License :: OSI Approved :: Zope Public License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: User Interfaces" ], "description": "=================================================\r\nZope3 Ext.Direct - Server-side Stack for ExtJS 3.\r\n=================================================\r\n\r\nHow do I use it ?\r\n----------------- \r\n \r\nLet's register api and views:\r\n\r\n >>> from zope.configuration import xmlconfig\r\n >>> context = xmlconfig.string(\"\"\"\r\n ... \r\n ... \r\n ...\r\n ... \r\n ...\r\n ... \r\n ...\r\n ... \r\n ... \r\n ... \"\"\")\r\n \r\nDirect API:\r\n \r\n >>> print http(r\"\"\"\r\n ... GET /@@directapi HTTP/1.1\r\n ... Authorization: Basic bWdyOm1ncnB3\r\n ... \"\"\")\r\n HTTP/1.1 200 Ok\r\n Cache-Control: no-cache\r\n Content-Length: ...\r\n Content-Type: text/javascript;charset=utf-8\r\n Expires: ...\r\n Pragma: no-cache\r\n \r\n Ext.namespace('my.app');\r\n my.app.REMOTING_API={\"url\": \"http://localhost/@@directrouter\", \"namespace\": \"my.app\", \"type\": \"remoting\", \"actions\": {\"Contact\": [{\"name\": \"getInfo\", \"len\": 1}], \"albumlist\": [{\"formHandler\": true, \"name\": \"add\", \"len\": 0}, {\"name\": \"getAll\", \"len\": 0}]}};\r\n\r\nAuto add provider : \r\n\r\n >>> print http(r\"\"\"\r\n ... GET /@@directapi?add_provider HTTP/1.1\r\n ... Authorization: Basic bWdyOm1ncnB3\r\n ... \"\"\")\r\n HTTP/1.1 200 Ok\r\n Cache-Control: no-cache\r\n Content-Length: ...\r\n Content-Type: text/javascript;charset=utf-8\r\n Expires: ...\r\n Pragma: no-cache\r\n \r\n Ext.namespace('my.app');\r\n my.app.REMOTING_API={\"url\": \"http://localhost/@@directrouter\", \"namespace\": \"my.app\", \"type\": \"remoting\", \"actions\": {\"Contact\": [{\"name\": \"getInfo\", \"len\": 1}], \"albumlist\": [{\"formHandler\": true, \"name\": \"add\", \"len\": 0}, {\"name\": \"getAll\", \"len\": 0}]}};\r\n Ext.Direct.addProvider(my.app.REMOTING_API);\r\n \r\nAnd Direct Request hanling (for addition see ROUTER.TXT): \r\n\r\n >>> print http(r\"\"\"\r\n ... POST /@@directrouter HTTP/1.1\r\n ... Authorization: Basic bWdyOm1ncnB3\r\n ... Content-Length: 71\r\n ... Content-Type: application/json; charset=UTF-8\r\n ... Referer: http://localhost/\r\n ... \r\n ... {\"action\":\"albumlist\",\"method\":\"getAll\",\"data\":[],\"type\":\"rpc\",\"tid\":1}\"\"\") \r\n HTTP/1.1 200 Ok\r\n Content-Length: 89\r\n Content-Type: text/javascript\r\n \r\n {\"action\": \"albumlist\", \"tid\": 1, \"type\": \"rpc\", \"method\": \"getAll\", \"result\": [1, 2, 3]}\r\n \r\n\r\n\r\n=======\r\nCHANGES\r\n=======\r\n\r\n1.1.0 (2010-12-23)\r\n------------------\r\n\r\n- Changes to support python 2.6\r\n\r\n1.0.1 (2010-11-10)\r\n------------------\r\n\r\n- Removed the dependencies on zope.app.intid\r\n- Changes to support zope.componetnt>=3.6.0\r\n- Added skipkeys=True for simplejson encoder to prevent \r\n raising a TypeError\r\n\r\n1.0.0a (2009-08-20)\r\n-------------------\r\n- Initial release.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "", "license": "ZPL 2.1", "maintainer": "", "maintainer_email": "", "name": "falkolab.ext3.direct", "package_url": "https://pypi.org/project/falkolab.ext3.direct/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/falkolab.ext3.direct/", "project_urls": { "Download": "UNKNOWN" }, "release_url": "https://pypi.org/project/falkolab.ext3.direct/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Zope3 Ext.Direct - Server-side Stack for ExtJS 3.", "version": "1.1.0" }, "last_serial": 1675637, "releases": { "1.0.0a": [ { "comment_text": "", "digests": { "md5": "380c50f7e800366b825bfda43ba7e3f2", "sha256": "85d45ef98583118b73e003a2c7c147f2115055f3a2f7748c9c31d18f7412a2ef" }, "downloads": -1, "filename": "falkolab.ext3.direct-1.0.0a-py2.4.egg", "has_sig": false, "md5_digest": "380c50f7e800366b825bfda43ba7e3f2", "packagetype": "bdist_egg", "python_version": "2.4", "requires_python": null, "size": 57461, "upload_time": "2009-08-20T18:34:59", "url": "https://files.pythonhosted.org/packages/d9/73/009b89c161a1898a6876bf90bc0a1572416a0d781a3c0f67d7674806081e/falkolab.ext3.direct-1.0.0a-py2.4.egg" }, { "comment_text": "", "digests": { "md5": "693be271902a797bcb20d2fdea4c69bb", "sha256": "78b421c9c18e3b9b2214bd0efc7646bba402d943063f553267e815d6eb0ded75" }, "downloads": -1, "filename": "falkolab.ext3.direct-1.0.0a-py2.5.egg", "has_sig": false, "md5_digest": "693be271902a797bcb20d2fdea4c69bb", "packagetype": "bdist_egg", "python_version": "2.5", "requires_python": null, "size": 56858, "upload_time": "2009-08-20T18:34:22", "url": "https://files.pythonhosted.org/packages/23/39/6922ad6b6c8713c51d4e799ff4da365d6015e3f662d5311623e374e52d9b/falkolab.ext3.direct-1.0.0a-py2.5.egg" }, { "comment_text": "", "digests": { "md5": "a8377b617f3cfbcb34e91b791bf45c96", "sha256": "b35695b5ed6b2ab65d452bdf468e6a4c0579f043769e36214e738c9bdaa04fad" }, "downloads": -1, "filename": "falkolab.ext3.direct-1.0.0a-py2.6.egg", "has_sig": false, "md5_digest": "a8377b617f3cfbcb34e91b791bf45c96", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 56811, "upload_time": "2009-08-20T18:34:32", "url": "https://files.pythonhosted.org/packages/66/8f/fc4fce7d82157d3eaf2bd688720050b93b2054fa9da1e592912553927472/falkolab.ext3.direct-1.0.0a-py2.6.egg" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "165af6372c88edcb7b9b9b36dceeac26", "sha256": "b6491065566bc151884a289d3fe427cbf354a9783214a387da14f09302b4694c" }, "downloads": -1, "filename": "falkolab.ext3.direct-1.1.0.tar.gz", "has_sig": false, "md5_digest": "165af6372c88edcb7b9b9b36dceeac26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18092, "upload_time": "2011-09-26T11:45:58", "url": "https://files.pythonhosted.org/packages/b7/b1/dc22fcac7097c1eaad7bbabd3083fe8a6829d72b1ecdff01869312466503/falkolab.ext3.direct-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "165af6372c88edcb7b9b9b36dceeac26", "sha256": "b6491065566bc151884a289d3fe427cbf354a9783214a387da14f09302b4694c" }, "downloads": -1, "filename": "falkolab.ext3.direct-1.1.0.tar.gz", "has_sig": false, "md5_digest": "165af6372c88edcb7b9b9b36dceeac26", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18092, "upload_time": "2011-09-26T11:45:58", "url": "https://files.pythonhosted.org/packages/b7/b1/dc22fcac7097c1eaad7bbabd3083fe8a6829d72b1ecdff01869312466503/falkolab.ext3.direct-1.1.0.tar.gz" } ] }