Web Dev Editor / [WDE] / is a Developer text editor for a PHP based web server.
- Very simple usage
- Some importan options
- Quick implementation
- Multiple users
Each user can be assigned:
- User name
- Password
- Path to library for editing allowed
[WDE] - Online Demo [Video] - Short Video demo
1.2.0 beta
- Add SQL testing (Left Alt+R execute SQL query)
- Add db connection options to config.php
- Include SqlFuncProc php class modified version
- some minor modification
2015-04-10
1.0.0 beta
- IE 10 or above
- Chrome
- Firefox
- PHP Web server 5.5 or above
- Copy whole folder (editor) to your web server.
- Fill the config.php with yours details .
- Check out the help on the popup window after login
- Check out [ACE] editor options
<?php
class Users
{
// user_password: password_hash('user_password', PASSWORD_DEFAULT);
private $users = array(
'user_name' => array(
'password' => 'user_password',
'path' => 'path to the allowed folder',
'SQL' => array(
'conn' => 'mysql:host=YOUR_HOST;dbname=YOUR_DBNAME;charset=utf8',
// 'conn' => 'sqlsrv:Server=YOUR_SERVERNAME;Database=YOUR_DBNAME',
'user' => 'DB_USER',
'pass' => 'DB_USER_PASSWORD'
)
)
// More users ->
);
?>
/* key configurations (LEFT ALT) */
var keys = (function() {
return {
MODIFIER_KEY_ALLOW: 'altKey',
MODIFIER_KEY_DENY: 'ctrlKey',
COPY_FILE: 'C'.charCodeAt(0),
PASTE_FILE: 'V'.charCodeAt(0),
SAVE_FILE: 'S'.charCodeAt(0),
TOGGLE_BROWSE_DIALOG: 'O'.charCodeAt(0),
NEXT_TAB: 'D'.charCodeAt(0),
PREV_TAB: 'A'.charCodeAt(0),
CLOSE_TAB: 'Q'.charCodeAt(0),
ADD_NEW_TAB: 'N'.charCodeAt(0),
TOGGLE_HELP_WINDOW: 'H'.charCodeAt(0),
EXECUTE_SQL: 'R'.charCodeAt(0)
};
})();
/* Execute Editor */
WDE.Init('ace-theme', 'path to the allowed folder');
- [ACE] High performance code editor
2015-04-01 [Video]:http://atandrastoth.co.uk/main/pages/plugins/webeditor/ [WDE]:http://editor.atandrastoth.co.uk/ [ACE]:http://ace.c9.io/