{"id":15026527,"url":"https://github.com/bjverde/formdin5","last_synced_at":"2026-04-30T02:05:54.877Z","repository":{"id":40589205,"uuid":"169735735","full_name":"bjverde/formDin5","owner":"bjverde","description":":elephant: Next formDin FrameWork version. Current version link https://github.com/bjverde/formDin","archived":false,"fork":false,"pushed_at":"2025-03-20T00:14:37.000Z","size":43006,"stargazers_count":6,"open_issues_count":47,"forks_count":5,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-20T01:22:26.664Z","etag":null,"topics":["adianti","adianti-framework","bootstrap","formdin","formdin-framework","fpf","jquery","php","php-framework","php7","php73"],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjverde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-02-08T13:01:39.000Z","updated_at":"2025-03-20T00:12:28.000Z","dependencies_parsed_at":"2024-03-08T16:50:51.953Z","dependency_job_id":"6f77e57d-3885-43f0-931b-e2051e456a70","html_url":"https://github.com/bjverde/formDin5","commit_stats":null,"previous_names":[],"tags_count":47,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjverde%2FformDin5","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjverde%2FformDin5/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjverde%2FformDin5/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjverde%2FformDin5/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjverde","download_url":"https://codeload.github.com/bjverde/formDin5/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248104685,"owners_count":21048382,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adianti","adianti-framework","bootstrap","formdin","formdin-framework","fpf","jquery","php","php-framework","php7","php73"],"created_at":"2024-09-24T20:04:37.659Z","updated_at":"2026-04-30T02:05:54.869Z","avatar_url":"https://github.com/bjverde.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# formdin5\n\n![Logo formDin](https://raw.githubusercontent.com/bjverde/formDin/master/base/imagens/formdin_logo.png)\n\nFormDin or Dynamic Form is a simple php Framework for creating web system quickly and easily.\n\nFormDin created in 2004 by Luís Eugênio Barbosa to increase the speed of development in IBAMA. Version 4 is based on the ideas in the Books [Pablo Dall'Oglio](http://www.dalloglio.net/c5?livros).\n\nThis version has the proposal to be the next version of **[FormDin 4 in GitHub.](https://github.com/bjverde/formDin)**. FormDin 5 is a FrameWork meta, as it is built on the [adianti FrameWork 7.X](https://adiantiframework.com.br) of [Pablo Dall'Oglio](http://www.dalloglio.net/). Therefore, it is not a complete FrameWork, it has total dependence on [adianti FrameWork 7.1](https://adiantiframework.com.br).\n\n*unfortunately the documentation in English is not complete. The first language is Brazilian Portuguese. Translations are made as soon as possible.*\n\n\n## About\n\nUsed libraries\n\n* [adianti FrameWork 7.6.0](https://adiantiframework.com.br)\n* BootStrap 4.1.3\n* Jquery 3.3.1\n* FPF 1.8.2\n* Font Awesome\n\n---\n\nFormDin ou Formulário Dinâmico é um Framework php simples para criar sistema web de forma rápida e fácil.\n\nO FormDin 5 é um meta FrameWork ou um adaptador ou uma extensão, por ser construído sobre o [adianti FrameWork 7.X](https://adiantiframework.com.br) do [Pablo Dall'Oglio](http://www.dalloglio.net/). Portando não é um FrameWork completo, ele tem total dependência do [adianti](https://www.adianti.com.br/). É um Framework de transição do [FormDin 4](https://github.com/bjverde/formDin) para o Adianti FrameWork, facilitando a migração. É uma abstração das chamadas do FormDin 4 no Adianti. \n\nO [adianti](https://www.adianti.com.br/) é um FrameWork muito bom, com mais recursos e uma comunidade muito maior. Logo o ideal é juntar forçar pegando o que tem de melhor dos dois.\n\n# Sobre\n\n## Conteúdo do Projeto\n* FormDin5 - é o FrameWork para instalar sobre o adianti 8.x\n* appexemplo_v1.0 - um software completo de exemplo, com os diversos usos dos componentes do FormDin5\n* lab - pequenos testes\n* phpunit-code-coverage - resultado da cobertura dos testes do PHPUnit\n\n# Instalação\n1. Baixar o [adianti FrameWork 8.1.0](https://adiantiframework.com.br) funciona com o template ou FrameWork Puro.\n1. Copiar o conteudo pasta FormDin5 conforme orientação abaixo\n    1. No arquivo `app/config/application.ini` incluir as linhas abaixo\n    1. No arquivo index.php da raiz do projeto incluir as linhas abaixo\n    1. No arquivo init.php da raiz do projeto incluir as linhas abaixo\n    1. Copiar a pasta `lib/widget/FormDin5` para `/app/lib/widget/FormDin5`\n    1. Copiar o arquivo `lib/include/FormDin5.js` para `/app/lib/include/FormDin5.js`\n    1. Copiar o arquivo `lib/include/FormDin5WebCams.js` para `/app/lib/include/FormDin5WebCams.js`\n\n## Arquivo application.ini\nEditar `app/config/application.ini` incluir as linhas abaixo. Depois alterar conforme a necessidade\n```ini\n[system]\nformdin_min_version=5.1.1\nadianti_min_version=7.6.0\nsystem_version = 1.0.0\nhead_title  = \"App Exemplo1\"\nsystem_name = 'Aplicação de Exemplo 1 do FormDin5 com Adianti'\nsystem_name_sub = 'APPEV1'\nlogo-lg = APPEV1\n;logo-mini = /images/favicon-96x96.png ; logo minimo com imagem\nlogo-mini = E1 ; logo minimo com texto \nlogo-link-class = 'index.php?class=AjudaView'\nlogin-link = https://github.com/bjverde/FormDin5\n```\n\n## Arquivo index.php\nEditar o arquivo index.php, abaixo das linhas\n```php\n$menu_string = AdiantiMenuBuilder::parse('menu.xml', $theme);\n$content     = file_get_contents(\"app/templates/{$theme}/layout.html\");\n```\nIncluir as linhas\n\n```php\n//---FORMDIN 5 -------------------------\n$content     = str_replace('{head_title}', $ini['general']['application'], $content);\n$content     = str_replace('{formdin_version}', FormDinHelper::version(), $content);\n$content     = str_replace('{system_version}', $ini['system']['version'], $content);\n$content     = str_replace('{system_name}', $ini['system']['system_name'], $content);\n$content     = str_replace('{system_name_sub}', $ini['system']['system_name_sub'], $content);\n$content     = str_replace('{logo-mini}', $ini['system']['logo-mini'], $content);\n$content     = str_replace('{logo-lg}', $ini['system']['logo-lg'], $content);\n$content     = str_replace('{logo-link-class}', $ini['system']['logo-link-class'], $content);\n$content     = str_replace('{login-link}', $ini['system']['login-link'], $content);\n//---FIM FORMDIN 5 -----------------------\n```\n\n## Arquivo init.php\nEditar o arquivo init.php, abaixo das linhas\n```php\ndefine('PATH', dirname(__FILE__));\ndefine('LANG', $ini['general']['language']);\n```\nIncluir as linhas\n\n```php\n//--- FORMDIN 5 START ---------------------------------------------------------\nFormDinHelper::verifyFormDinMinimumVersion($ini['system']['formdin_min_version']);\nFormDinHelper::verifyMinimumVersionAdiantiFrameWorkToSystem($ini['system']['adianti_min_version']);\n\nif(!defined('SYSTEM_VERSION') )  { define('SYSTEM_VERSION', $ini['system']['system_version']); }\nif(!defined('SYSTEM_NAME') )     { define('SYSTEM_NAME', $ini['general']['application']); }\nif(!defined('DS') )  { define('DS', DIRECTORY_SEPARATOR); }\nif(!defined('EOL') ) { define('EOL', \"\\n\"); }\nif(!defined('ESP') ) { define('ESP', chr(32).chr(32).chr(32).chr(32) ); }\nif(!defined('TAB') ) { define('TAB', chr(9)); }\n//--- FORMDIN 5 END -----------------------------------------------------------\n```\n\n\n# Aplicações de Exemplo usando FormDin 5\n* appexemplo_v1.0 - está neste projeto\n* appexemplo_v2.0 - https://github.com/bjverde/appexemplo_v2\n\n# Videos Sobre\nAbaixo um vídeo sobre o FormDin 5 e está esperado para o Futuro !\n[![FormDin 5 o futuro !!](http://img.youtube.com/vi/Sf8mQn1-CQc/0.jpg)](http://www.youtube.com/watch?v=Sf8mQn1-CQc \"FormDin 5 o futuro !!\")\n\n\n## Branchs\n* Master - tem as modificações e novidades\n* [bk20200410_formdin4to5](https://github.com/bjverde/formDin5/tree/bk20200410_formdin4to5)- versão congelada, primeira tentatica de criar o FormDin5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjverde%2Fformdin5","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjverde%2Fformdin5","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjverde%2Fformdin5/lists"}