Find Procedure, um dia você vai precisar!

Procurar conteúdo dentro de uma procedure sem a intervenção de um DBA pode ser necessário, se você não precisou, vai precisar um dia. A query abaixo procura trecho dentro das procedures armazenadas no banco.

[codesyntax lang=”sql”]

SELECT ROUTINE_NAME, ROUTINE_DEFINITION
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_DEFINITION LIKE '%SEARCHSTRING%'
AND ROUTINE_TYPE='PROCEDURE'

[/codesyntax]

Claro, que dependendo do banco da dados(Oracle, MSSQL, Postgre, MySQL, Sybase) algumas adaptações são necessárias 😉

Novo endereço

Peço a todos desculpas pela falta de postagem recentemente, mas o motivo foi nobre, a troca de endereço do blog que agora está em www.edersonmelo.com.

O novo blog está com o último post deste porém receberá atualizações constantes apartir de Quinta-Feira(29/10/2009).

www.edersonmelo.com


Conto com o acesso de todos na busca de um blog mais profissional e melhor.



CMS’s

Procurando sobre CMS’s desenvolvidos em php, para ter uma idéia melhor da quantidade que temos disponíveis, achei uma lista completa na wiki. Coloquei a lista mais abaixo para quem deseja conferir.

E claro, aprendi um pouco mais sobre CMS.

CMS é a sigla para Content Management System, ou em bom português, Sistema Gerenciador de Conteúdo.

Um CMS tem como objetivo facilitar a criação, edição, publicação e distribuição de informação.

Características na maioria dos CMS:

  1. Suporte a múltiplos usuários (registro, gerenciamento e atribuição de papéis a vários usuários).
  2. Edição de conteúdo facilitada.
  3. As funcionalidades iniciais podem ser ampliadas ou novas podem ser adicionadas através de plugins e/ou módulos.
  4. Gerenciamento e controle de documentos através de publicação, revisão, arquivamento e eliminação de documentos.
  5. Camada de apresentação gerenciada através de templates, permitindo a troca rápida da interface independente do conteúdo.
  6. Controle de Fluxo. Por exemplo, um usuário pode enviar um artigo para um site, mas este não é publicado imediatamente, até que seja revisto por um editor e depois aprovado por um editor-chefe.

Em 1995, a CNET, uma empresa de mídia web, resolveu comercializar seu CMS através de uma empresa à parte, denominada Vignette, iniciando assim o comércio de gerenciadores de conteúdo.

Nome Plataforma BD Suportados Licenças
AdaptCMS Lite PHP MySQL GPL
Alfresco Java MySQL, Oracle, SQL Server, PostgreSQL, Informix GPL & Commercial
Apache Lenya Java, XML, Apache Cocoon Apache

License

Aqua CMS PHP MySQL GPL
AxCMS.net ASP.net Microsoft SQL Server 2005 or above free
b2evolution PHP MySQL GPL
BLOG:CMS PHP MySQL GPL
blosxom Perl Flat-file database MIT
Bricolage Perl PostgreSQL BSD
Byteflow Python, Django PostgreSQL, MySQL, SQLite, Oracle BSD
CivicSpace PHP MySQL Open source, detail

unknown

CMSimple PHP Flat-file database Affero
CMS made simple PHP MySQL, PostgreSQL GPL
concrete5 PHP MySQL MIT
Contrexx Open Source edition PHP MySQL Free for non-

commercial

use

Cyclone3 Perl, XUL, JavaScript, C, Java MySQL and any Perl DBI GPL
Daisy Java, XML, Apache Cocoon MySQL Apache

License

Dokuwiki PHP Flat-file database GPL
DotClear PHP MySQL, PostgreSQL GPL
DotCMS Java MySQL, MSSQL, PostgreSQL, Oracle GNU GPL v2
DotNetNuke ASP.NET Microsoft SQL Server (out-of-the-box) or any data storage system (each storage system needs a custom data provider to be installed) BSD
Drupal PHP MySQL or PostgreSQL GPL
e107 PHP MySQL GPL
Exponent PHP MySQL/PostgreSQL GPL
ExpressionEngine PHP MySQL Free “Core” version for

non-

commercial use

eZ Publish PHP MySQL/PostgreSQL/Oracle/Microsoft SQL Server GPL
Fedora Java MySQL or Oracle Educational Community License
Frog CMS PHP5 MySQL or SQLite MIT License
GX WebManager Community Edition Java MySQL or SQLite Free for

non-

commercial use

Habari PHP MySQL, PostgreSQL, SQLite Apache License
ImpressCMS PHP MySQL GPL
Jahia Java HyperSonic SQL, PostgreSQL, MySQL, Oracle JCDDL and JSSL
jAPS – java Agile Portal System Java HyperSonic SQL, PostgreSQL GPL
Joomla! PHP MySQL GPL
Liferay Java Apache Derby, DB2, HyperSonic SQL, Informix, InterBase, JDataStore, MySQL, Oracle, PostgreSQL, SAP, SQL Server, Sybase MIT
KnowledgeTree Document Management System PHP MySQL GPL
Lyceum PHP MySQL GPL
Magnolia Java JCR GPL
Mambo PHP MySQL GPL
MediaWiki PHP MySQL, PostgreSQL GPL
MiaCMS PHP MySQL GPL
Midgard CMS PHP (Midgard framework) MySQL LGPL
MODx PHP MySQL GPL
MoinMoin Python Flat-file database GPL
Movable Type Perl, mod_perl, FastCGI MySQL or MS SQL server or Oracle or PostgreSQL or SQLite GPL
Nucleus CMS PHP MySQL GPL
Nuxeo CPS Python ZODB GPL
Nuxeo EP Java PostgreSQL, MySQL, Oracle, SQL Server, Ingres LGPL
OneCMS PHP MySQL GPL
OpenACS TCL AOLserver PostgreSQL/Oracle GPL
OpenCms Java MySQL, Oracle, PostgreSQL, SQL Server, DB2, HSQL LGPL
Opus PHP MySQL GPL
Phenotype PHP + Smarty MySQL GPL
phpCMS PHP Flat-file database GPL
PHP-Fusion PHP MySQL GPL
PHP-Nuke PHP MySQL GPL
PHPSlash PHP GPL
phpWCMS PHP MySQL GPL
phpWebSite PHP MySQL or PostgreSQL LGPL
PhpWiki PHP Flat-file database/MySQL/PostgreSQL etc. GPL
Plone Python ZODB, SQLite, PostgreSQL, MySQL, Oracle via Zope GPL
PmWiki PHP Flat-file database GPL
PostNuke PHP MySQL GPL
PyLucid Python MySQL, PostgreSQL, SQLite GPL
Radiant Ruby MySQL, PostgreSQL, SQLite MIT
Scoop Perl on mod_perl MySQL GPL
Serendipity PHP + Smarty SQLite, PostgreSQL, MySQL, MySQLi BSD
SilverStripe PHP MySQL BSD
SiteFrame PHP + Smarty MySQL Creative Commons
Slash Perl on mod_perl MySQL GPL
SPIP PHP MySQL GPL
TangoCMS PHP MySQL GNU/GPL 2
Textpattern PHP MySQL GPL
TGS Content Management PHP MySQL GPL
TikiWiki CMS/Groupware PHP MySQL and others using ADOdb LGPL
Tribiq CMS PHP MySQL GPL
TWiki Perl Plain files (under version control) GPL
Typo Ruby on Rails MySQL, PostgreSQL, SQLite MIT
TYPO3 PHP MySQL, PostgreSQL, Oracle GPL
Quick.Cms.Lite PHP Flat-file database Creative Commons Attribution 2.5
WebGUI Perl on mod_perl MySQL GPL
whCMS PHP MySQL GPL
WordPress PHP MySQL GPL
Xaraya PHP with XHTML/XML/XSLT MySQL, PostgreSQL, SQLite using ADOdb and Microsoft SQL Server with Creole GPL
XOOPS PHP + Smarty MySQL GPL
XOOPS Cube PHP + Smarty MySQL BSD
Zena Ruby MySQL MIT

Fontes:

http://www.marcusvbp.com.br

http://pt.wikipedia.org

Abraço,
Ederson Melo