Запись [f:_dev/_utility.php] < dev.sky.1.001
Версия 1.001
001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 026 027 028 029 030 031 032 033 034 035 036 037 038 039 040 041 042 043 044 045 046 047 048 049 050 051 052 053 054 055 056 057 058 059 060 061 062 063 064 065 066 067 068 069 070 071 072 073 074 075 076 077 078 079 080 081 082 083 084 085 086 087 088 089 090 091 092 093 094 095 | <?php defined('START') and AUTH_OK or die; $menu = [ 'update' => [7, 'Update your DEV', $left = sprintf(span_r, '←')], 'submit' => [7, 'Submit your work', $right = sprintf(span_g, '→')], 'packages' => [0, 'Fixed Packages', '∞'], 'tune' => [83, 'Tune Package', '!'], '<hr>', 'builds' => [0, 'My Builds', '1010..'], 'snapshots' => [0, 'My Snapshots', '0101..'], 'copyto' => [82, 'Copy to...'], 'delete' => [0, 'Delete', 'X'], 'recycled' => [0, 'Recycle bin', '\<span style="text-decoration:underline">x</span>/'], '<hr>', 'export' => [85, 'Export Codebase', $right], 'import' => [85, 'Import Codebase', $left], '<hr>', 'sql_query' => [0, 'MySQL query', '>'], 'test_php' => [0, 'Test PHP', '2do'], 'test_js' => [0, 'Test Javascript'], 'test_html' => [0, 'Test HTML', '2do'], 'visual' => [89, 'Visual SKY. app', '2do'], 'globals' => [0, 'Globals', '<span style="background:#0f0">$</span>'], 'compare' => [92, 'Compare', '||'], 'sar' => [90, 'Search and replace'], 'tasks' => [91, 'Mass tasks', '2do'], 'translate' => [0, 'Translate MyApp', 'abc'], '<hr>', 'help_edit' => [0, 'Translate DEV', 'abc'], 'ajax' => [0, 'DEV ajax tracing', '...'], 'log' => [0, 'DEV last Log', '...'], ]; $ary = $menu + [ 'scripts' => [81], 'wind' => [88], 'move' => [86], 'test' => [100], 'area' => [99], '' => [0], 'help_wiki' => [0], ]; if ($xval = $ary[START == 'ajax' ? $m[1] : $PVAL][0]) define('ID', $xval); if (START != 'ajax'): set('u_tility', '?' . $_SERVER['QUERY_STRING'], 2); set('u_til_i', (int)@++$u_til_i, 2); $TITLE = $PVAL ? ucfirst($PVAL) . " - $TITLE" : "Utility - $TITLE"; ob_start(); eval(sprintf($left_menu, 'Utility', @$menu[$PVAL][1], '=TOP-TITLE=')); if ($PVAL) require "util/$PVAL.php"; else { ?> <h3>Utilities for DEVelopment</h3> <p><b>Update your DEV</b> - Get updates for this DEV.SKY, new applications, new functionality, new translations <p><b>Submit your work</b> - You can help develop SKY. and this app (and apps inside DEV). Much work ahead <p><b>Fixed packages</b> - List of Packages already existing on remote server and this DEV instance <p><b>Tune Package</b> - Check records syntax, renew files, fix Codebase records <hr> <b>My builds</b> - See what scripts you already run, rollback if required <p><b>My Snapshots</b> - Save state of your project files and DB for future automaticaly create script of changes <p><b>Copy to...</b> - Copy archive of data, wind script, other data to some destination <p><b>Delete</b> - You can move files to Recycle bin <p><b>Recycle bin</b> - List of deleted objects can restore <hr> <b>Export Codebase</b> - Create *.dev files in `temp` directory from Codebase records <p><b>Import Codebase</b> - Insert *.dev files to Codebase table <hr> <b>MySQL query</b> - Execute SQL queries directly in DEV <p><b>Test PHP</b> - Just test PHP code here... <p><b>Test Javascript</b> - Just test Javascript code here... <p><b>Test HTML</b> - Just test HTML code here... <p><b>Visual SKY. app</b> - Generate skeleton for your app using `visual` facilities <p><b>Globals</b> - See list of global variables, constants, default summary info and more <p><b>Search and replace</b> - Use or not the regexp, define objects (for search) with area definitions <p><b>Mass tasks</b> - Different jobs on objects defined by area definitions <p><b>Translate MyApp</b> - Translate automaticaly your multilanguage app <hr> <b>Translate DEV</b> - Read how to translate DEV.SKY. to your language <p><b>DEV ajax tracing</b> - See tracing of last executed AJAX request in this app <p><b>DEV last Log</b> - Last actions with js function `cycle()` <p><br><span style="color:green">...other ideas - welcome!</span> <script type="text/javascript"> function key_Esc() { document.location.href='<?=$u_settings?>' } function key_F4() { document.location.href='?settings=dev&edit' } </script> <?php $TOP = sprintf('<u>Application under development</u>: <b>%s</b> < <a href="javascript:key_F4()">edit (F4)</a>', strtoupper($u_my_app)); } echo strtr(ob_get_clean(), ['=TOP-TITLE=' => $TOP]); endif; |
• N1: CREATE DIRS:
001 | _dev/util
|
• N2: DATA: css
001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017 018 019 020 021 022 023 024 025 | # DESC: ru #
Скрипт инсталляции всего приложения DEV.SKY.
Этот скрипт выполняется из программы развертывания <a href="?cb_show=7">install.dev.php</a>, откат назад невозможен.
# DESC: en #
Overall DEV.SKY. deploy script
This script executed from deploy program <a href="?cb_show=7">install.dev.php</a>, Rollback impossible.
# AREA: #
application: dev.sky. 1.000 (scratch)
include paths: dev.php _dev
exclude paths: _dev/temp
include tables: _dev_
include rows: _dev_codebase.-10000 _dev_help.* _dev_memory.-199
# CREATE DIRS: #
_arch _dev _dev/main _dev/temp
# REPLACE PATHS: #
conf.php ~ _dev/conf.php
all.js ~ _dev/all.js
main/startup.php ~ _dev/main/startup.php
class/pagination.php ~ _dev/main/pagination.php
!!!
|
Записи Codebase (89)
Статус SKY.
Current version: 1.001
Coresky records: 22
Local (DEV) records: 89
Web (all) records: 105
Download: dev.php
Coresky records: 22
Local (DEV) records: 89
Web (all) records: 105
Download: dev.php