{"id":149,"date":"2007-06-24T18:24:04","date_gmt":"2007-06-24T21:24:04","guid":{"rendered":"http:\/\/www.meiradarocha.jor.br\/news\/2007\/06\/24\/sistema-editorial-com-scribuspythoncmsmysql-parte-4\/"},"modified":"2007-06-28T06:14:20","modified_gmt":"2007-06-28T09:14:20","slug":"sistema-editorial-com-scribuspythoncmsmysql-parte-4","status":"publish","type":"post","link":"https:\/\/meiradarocha.jor.br\/news\/2007\/06\/24\/sistema-editorial-com-scribuspythoncmsmysql-parte-4\/","title":{"rendered":"Sistema editorial com Scribus+Python+CMS+MySQL &#8211; Parte 4"},"content":{"rendered":"<p>A programa\u00e7\u00e3o visual da interface entre o programa de editora\u00e7\u00e3o <strong>Scribus <\/strong>e um <strong>Sistema Gerenciador de Conte\u00fado<\/strong> <strong>(CMS<\/strong>) pode ser feita com scripts <strong>Python <\/strong>rodando como extens\u00f5es do Scribus. Assim, \u00e9 poss\u00edvel se contruir paletas, listas etc, que permanecem funcionais mesmo quando o script termina:<\/p>\n<blockquote><p><a href=\"http:\/\/docs.scribus.net\/index.php?lang=en&amp;page=scripter-extensions\">Scripter: Extension Scripts<\/a><br \/>\nThere are several situations where being able to create objects from Python that hang around after the script exits is useful. The most signficiant is graphical programming with <a href=\"http:\/\/www.riverbankcomputing.co.uk\/pyqt\/download.php\" title=\"PyQt para Windows, licensa GPL\">PyQt<\/a>, where PyQt objects are created when the script runs and become functional only after the script exits, returning control to the Scribus event loop.<\/p><\/blockquote>\n<p>Ser\u00e1 relativamente f\u00e1cil, ent\u00e3o, criar uma paleta tipo estrutura de \u00e1rvore hier\u00e1rquica com os textos de um ve\u00edculo, a partir de uma consulta a um banco de dados de CMS (no caso, banco de dados <strong>MySQL <\/strong>do <strong>WordPress<\/strong>).<\/p>\n<p>Baixe a <a href=\"ftp:\/\/ftp.trolltech.com\/qt\/source\/qt-win-opensource-4.3.0-mingw.exe\" title=\"Site FTP\">biblioteca Qt em licen\u00e7a open source GPL<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A programa\u00e7\u00e3o visual da interface entre o programa de editora\u00e7\u00e3o Scribus e um Sistema Gerenciador de Conte\u00fado (CMS) pode ser feita com scripts Python rodando como extens\u00f5es do Scribus. Assim, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,24,25,15,14,16],"tags":[],"class_list":["post-149","post","type-post","status-publish","format-standard","hentry","category-database","category-design-grafico","category-diagramacao","category-editoracao","category-python","category-scribus"],"_links":{"self":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts\/149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/comments?post=149"}],"version-history":[{"count":0,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/posts\/149\/revisions"}],"wp:attachment":[{"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/media?parent=149"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/categories?post=149"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meiradarocha.jor.br\/news\/wp-json\/wp\/v2\/tags?post=149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}