{"id":26062035,"url":"https://github.com/poen0121/codeswitcher-router","last_synced_at":"2025-03-08T15:49:09.949Z","repository":{"id":195281062,"uuid":"135537080","full_name":"poen0121/CodeSwitcher-Router","owner":"poen0121","description":"Open source PHP web application framework routing model based on code version control. ","archived":false,"fork":false,"pushed_at":"2018-08-28T01:56:13.000Z","size":140,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-09-17T09:50:39.654Z","etag":null,"topics":["application","codeswitcher","framework","php","router","web"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/poen0121.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2018-05-31T05:41:28.000Z","updated_at":"2023-09-17T09:50:42.595Z","dependencies_parsed_at":null,"dependency_job_id":"43b4181b-a492-4825-8672-d9329aea00e7","html_url":"https://github.com/poen0121/CodeSwitcher-Router","commit_stats":null,"previous_names":["poen0121/codeswitcher-router"],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poen0121%2FCodeSwitcher-Router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poen0121%2FCodeSwitcher-Router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poen0121%2FCodeSwitcher-Router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/poen0121%2FCodeSwitcher-Router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/poen0121","download_url":"https://codeload.github.com/poen0121/CodeSwitcher-Router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242573491,"owners_count":20151707,"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":["application","codeswitcher","framework","php","router","web"],"created_at":"2025-03-08T15:49:09.588Z","updated_at":"2025-03-08T15:49:09.940Z","avatar_url":"https://github.com/poen0121.png","language":"PHP","readme":"# CodeSwitcher-Router\nPHP Framework ( PHP \u003e= 5.2.12 ) CLI,CGI\n\u003e About\n\n\tCodeSwitcher is a web application framework with intuitive development.\n\n\tWe believe that development must be a simple, flexible development framework.\n\n\tCodeSwitcher is the code version control framework.\n\n\tBased on Model 2 MVC architecture.\n\t-----------------------------------------------------\n\tMVC :\n\n\t\t( Model ） - in models directory.\n\n\t\t( View ） - in templates directory.\n\n\t\t( Controller ） - in events directory.\n\n\u003e Learning Documents\n\n    Please read `readme.php` document.\n\n\u003e Directory Structure\n\n\t1.core : Main program files directory.\n\n\t2.configs : Configs directory support version control mechanism.\n\n\t3.languages : Languages directory support version control mechanism.\n\n\t4.libraries : Developer libraries directory support version control mechanism.\n\n\t5.models : Models directory support version control mechanism.\n\n\t6.events : Events script directory relies on the version control mechanism.\n\n\t7.resources : Storage resources directory version control mechanism is optional.\n\n\t8.templates : Templates directory support version control mechanism.\n\n\t9.storage : System storage directory.\n\n\u003e Version Control - Revision Rule\n\n \t[Main version number] . [Minor version number] . [Revision number]\n\n\t#Main version number:\n\tA major software updates for incremental , usually it refers to the time a major update function and interface has been a significant change.\n\t \n\t#Minor version number:\n\tSoftware release new features , but does not significantly affect the entire software time increments.\n\t \n\t#Revision number:\n\tUsually in the software have bug , bug fixes released incremented version.\n\n\tExample :\n\tVersion : 0.0.0\n\tVersion : 1.0.0\n\tVersion : 1.0.1\n\tVersion : 1.1.0\n\tVersion : 2.0.0\n\tVersion : 2.0.1\n\tVersion : 2.1.0\n\n\u003e Note Namespace\n\n\tGlobal namespace code :\n\n\tuse csl_mvc;\n\tuse csl_error;\n\tuse csl_func_arg;\n\tuse csl_header;\n\tuse csl_inspect;\n\tuse csl_path;\n\tuse csl_import;\n\tuse csl_file;\n\tuse csl_language;\n\tuse csl_template;\n\tuse csl_version;\n\tuse csl_browser;\n\tuse csl_time;\n\tuse csl_debug;\n\n\u003e Router Controller Main Directory\n\n\t1.configs/routes : System configuration for the routes.\n\n\t2.events/router : Router controller script.\n\n\t3.templates/error/400 : System error 400 content directory.\n\t\n\t4.templates/error/404 : System error 404 content directory.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoen0121%2Fcodeswitcher-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpoen0121%2Fcodeswitcher-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpoen0121%2Fcodeswitcher-router/lists"}