Dbm (discuter | contributions) m (→SQLfast) |
Dbm (discuter | contributions) (→SQLfast) |
||
Ligne 9 : | Ligne 9 : | ||
− | ::''' | + | ::'''SQLfast is a software environment that allows non expert users to easily create, examine, modify, query and process relational databases through a user friendly graphical interface. The SQLfast environment also provides a simple but rich programming language intended primarily to casual users with no or little experience in database programming.''' |
− | ::''' | + | ::'''SQLfast is portable, self-contained, self-documented, ready to run and requires no installation. Launching it just requires double-clicking on SQLfast.exe, nothing more. The software, the manuals and the tutorials are availble [https://projects.info.unamur.be/~dbm/mediawiki/index.php/DUNOD2015_SQLfast here]'''. |
− | + | ||
− | + | ||
− | :: '''Last updates''' | + | :: '''Last tutorial updates''' |
+ | ::: 2016-10-24: <font color="blue"><b>Chapters 1 to 17</b></font> | ||
::: 2016-08-29: <font color="blue"><b>Chapters 11, 12, 13 and 14</b></font> | ::: 2016-08-29: <font color="blue"><b>Chapters 11, 12, 13 and 14</b></font> | ||
::: 2016-08-03: <font color="blue"><b>Chapters 8, 9 and 10</b></font> | ::: 2016-08-03: <font color="blue"><b>Chapters 8, 9 and 10</b></font> | ||
Ligne 27 : | Ligne 26 : | ||
*'''Type''': High-level database programming interface for non-experts | *'''Type''': High-level database programming interface for non-experts | ||
− | *'''Description''' | + | *'''Description of the SQLfast language''' |
:SQLfast is a language and an environment allowing easy database processing and manipulation. The core of the SQLfast language is <b>SQL</b>, the universal language for database definition and manipulation. Any sequence of SQL statements is a valid SQLfast script, whatever its length. SQLfast also comprises statements that provide for interaction with script users, text generation, file manipulation, decision and iteration. | :SQLfast is a language and an environment allowing easy database processing and manipulation. The core of the SQLfast language is <b>SQL</b>, the universal language for database definition and manipulation. Any sequence of SQL statements is a valid SQLfast script, whatever its length. SQLfast also comprises statements that provide for interaction with script users, text generation, file manipulation, decision and iteration. | ||
− | :The main goal of SQLfast is to allow the <b>rapid and easy development</b> of <b>small database applications</b> by <b>non | + | :The main goal of SQLfast is to allow the <b>rapid and easy development</b> of <b>small database applications</b> by <b>casual, non expert</b> users. It does not compete with standard programming languages, such as C, Java or C# in which large and complex database applications are written. By automating most tedious and obscure parts of database programming and user interaction, it allows script writers to concentrate on the problem logic. A simple and intuitive <b>2-line SQLfast script</b> can replace a <b>full page Java/JDBC program</b> that must be written by a programmer (Tutorial, Chapter 1, Section 1.5). |
:Despite its simplicity, the SQLfast language includes powerful features such as the full SQL language, script variables, GUI, comprehensive control structures (procedures, recursive calls, if-else, for-endfor, while-endwhile, exit, next, continue, stop, pause, goto etc.), a powerful text generator coupled with the select-from-where query, dynamic statement and script execution, external program interface, transactions, automatic metadata management, automatic database analysis, debugging, etc. | :Despite its simplicity, the SQLfast language includes powerful features such as the full SQL language, script variables, GUI, comprehensive control structures (procedures, recursive calls, if-else, for-endfor, while-endwhile, exit, next, continue, stop, pause, goto etc.), a powerful text generator coupled with the select-from-where query, dynamic statement and script execution, external program interface, transactions, automatic metadata management, automatic database analysis, debugging, etc. | ||
+ | *'''Description of the SQLfast software environment''' | ||
:The <b>SQLfast environment</b> is particularly <b>easy to install</b>. Once the standard Python environment is available, installing the SQLfast system just requires copying a folder on the disk. No need to install a database manager nor GUI libraries, to compile modules to adapt them to the user equipment, to create accounts and to define access rights. | :The <b>SQLfast environment</b> is particularly <b>easy to install</b>. Once the standard Python environment is available, installing the SQLfast system just requires copying a folder on the disk. No need to install a database manager nor GUI libraries, to compile modules to adapt them to the user equipment, to create accounts and to define access rights. | ||
:Due to its simplicity, its ease of use and its power, SQLfast is intended to audiences that have little time and/or knowledge to develop professional programs. In particular, it can be used by: | :Due to its simplicity, its ease of use and its power, SQLfast is intended to audiences that have little time and/or knowledge to develop professional programs. In particular, it can be used by: | ||
Ligne 82 : | Ligne 82 : | ||
</nowiki> | </nowiki> | ||
− | :*SQLfast Tutorial - <b>1st pages</b> and <b>Table of contents</b>, draft version, | + | :*SQLfast Tutorial - <b>1st pages</b> and <b>Table of contents</b>, draft version, 2016. to be completed [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto00-1st-pages.pdf [full text]] |
<nowiki> | <nowiki> | ||
Ligne 90 : | Ligne 90 : | ||
</nowiki> | </nowiki> | ||
− | :*SQLfast Tutorial - <font color="blue"><b>1. Introduction</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>1. Introduction</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto01-Introduction.pdf [full text]] |
::''Chapter contents'': Description of SQLfast. How to start. Example database. | ::''Chapter contents'': Description of SQLfast. How to start. Example database. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>2. Basic scripts</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>2. Basic scripts</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto02-Basic-programs.pdf [full text]] |
::''Chapter contents'': First scripts. Opening a database. The <tt>select</tt> query. Using variables. Asking the user to enter data. Interactive scripts. | ::''Chapter contents'': First scripts. Opening a database. The <tt>select</tt> query. Using variables. Asking the user to enter data. Interactive scripts. | ||
::''Statements and functions'': <tt>openDB</tt>, <tt>closeDB</tt>, <tt>select</tt>, <tt>set</tt>, <tt>write</tt>, <tt>ask</tt>. | ::''Statements and functions'': <tt>openDB</tt>, <tt>closeDB</tt>, <tt>select</tt>, <tt>set</tt>, <tt>write</tt>, <tt>ask</tt>. | ||
Ligne 99 : | Ligne 99 : | ||
:*SQLfast Tutorial - <b>3. Getting started with SQL</b>, writing in progress. | :*SQLfast Tutorial - <b>3. Getting started with SQL</b>, writing in progress. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>4. Creating a database</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>4. Creating a database</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto04-Creating-DB.pdf [full text]] |
::''Chapter contents'': Creating a new database. Inserting data in a database. First notion of transaction. Calling an external script. Writing blank lines. In-memory databases. | ::''Chapter contents'': Creating a new database. Inserting data in a database. First notion of transaction. Calling an external script. Writing blank lines. In-memory databases. | ||
::''Statements and functions'': <tt>createDB</tt>, <tt>createOrReplaceDB</tt>, <tt>create table</tt>, <tt>insert</tt>, <tt>commiDB</tt>, <tt>execSQL</tt>, <tt>createDB InMemory</tt>. | ::''Statements and functions'': <tt>createDB</tt>, <tt>createOrReplaceDB</tt>, <tt>create table</tt>, <tt>insert</tt>, <tt>commiDB</tt>, <tt>execSQL</tt>, <tt>createDB InMemory</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>5. Updating data</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>5. Updating data</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto05-Updating-data.pdf [full text]] |
::''Chapter contents'': Multiple-field user data entry. Dialogue box layout and mechanics. SQL data modification queries. Interactive data modification. Using variables in query building. Dynamic queries. | ::''Chapter contents'': Multiple-field user data entry. Dialogue box layout and mechanics. SQL data modification queries. Interactive data modification. Using variables in query building. Dynamic queries. | ||
::''Statements and functions'': <tt>insert</tt>, <tt>delete</tt>, <tt>update</tt>, <tt>ask</tt>. | ::''Statements and functions'': <tt>insert</tt>, <tt>delete</tt>, <tt>update</tt>, <tt>ask</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>6. More on variables</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>6. More on variables</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto06-More-on-variables.pdf [full text]] |
::''Chapter contents'': Playing with dates and times. Measuring elapsed time. Variable/value substitution operator. Computation. SQLfast procedures and variables. | ::''Chapter contents'': Playing with dates and times. Measuring elapsed time. Variable/value substitution operator. Computation. SQLfast procedures and variables. | ||
::''Statements and functions'': <tt>date</tt>, <tt>time</tt>, <tt>start-timer</tt>, <tt>timer</tt>, <tt>create index</tt>, <tt>drop index</tt>, <tt>output</tt>, <tt>wait</tt>, <tt>parameter delimiters</tt>, <tt>set-n</tt>, <tt>substitution</tt>, <tt>compute</tt>, <tt>execSQL</tt>. | ::''Statements and functions'': <tt>date</tt>, <tt>time</tt>, <tt>start-timer</tt>, <tt>timer</tt>, <tt>create index</tt>, <tt>drop index</tt>, <tt>output</tt>, <tt>wait</tt>, <tt>parameter delimiters</tt>, <tt>set-n</tt>, <tt>substitution</tt>, <tt>compute</tt>, <tt>execSQL</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>7. Taking decisions</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>7. Taking decisions</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto07-Taking-decisions.pdf [full text]] |
::''Chapter contents'': Alternative control statement. Displaying a message. SQLfast conditions. Skipping statements. Simple loops. | ::''Chapter contents'': Alternative control statement. Displaying a message. SQLfast conditions. Skipping statements. Simple loops. | ||
::''Statements and functions'': <tt>if</tt>, <tt>if-endif</tt>, <tt>if-else-endif</tt>, <tt>showMessage</tt>, <tt>label</tt>, <tt>goto</tt>. | ::''Statements and functions'': <tt>if</tt>, <tt>if-endif</tt>, <tt>if-else-endif</tt>, <tt>showMessage</tt>, <tt>label</tt>, <tt>goto</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>8. Reading data</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>8. Reading data</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto08-Reading-data.pdf [full text]] |
::''Chapter contents'': Extracting data from the database. Indexed <tt>select</tt> queries. Queries which return no rows. Coping with empty sets and null values. SQL for loop. Embedded loops. | ::''Chapter contents'': Extracting data from the database. Indexed <tt>select</tt> queries. Queries which return no rows. Coping with empty sets and null values. SQL for loop. Embedded loops. | ||
::''Statements and functions'': <tt>extract</tt>, <tt>select #n</tt>, <tt>select #[n1,n2]</tt>, <tt>for-endfor</tt>, <tt>SQLdiag</tt>. | ::''Statements and functions'': <tt>extract</tt>, <tt>select #n</tt>, <tt>select #[n1,n2]</tt>, <tt>for-endfor</tt>, <tt>SQLdiag</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>9. Looping - The final chapter</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>9. Looping - The final chapter</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto09-More-on-Loops.pdf [full text]] |
::''Chapter contents'': SQL-based for loop. Range loops. While loop. Controlling a loop. Loops internals. | ::''Chapter contents'': SQL-based for loop. Range loops. While loop. Controlling a loop. Loops internals. | ||
::''Statements and functions'': <tt>for-endfor</tt>, <tt>while-endwhile</tt>, <tt>next</tt>, <tt>exit</tt>. | ::''Statements and functions'': <tt>for-endfor</tt>, <tt>while-endwhile</tt>, <tt>next</tt>, <tt>exit</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>10. SQLfast expressions</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>10. SQLfast expressions</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto10-Expressions.pdf [full text]] |
::''Chapter contents'': Syntax of SQLfast expressions. Numeric expressions. Character string expressions. Logical expressions. Time expressions. General functions. Using external libraries. | ::''Chapter contents'': Syntax of SQLfast expressions. Numeric expressions. Character string expressions. Logical expressions. Time expressions. General functions. Using external libraries. | ||
::''Statements and functions'': <tt>compute</tt>, <tt>if</tt>, <tt>while</tt>, <tt>execApp</tt>, <tt>function</tt>. | ::''Statements and functions'': <tt>compute</tt>, <tt>if</tt>, <tt>while</tt>, <tt>execApp</tt>, <tt>function</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>11. Output channels</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>11. Output channels</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto11-Output-Channels.pdf [full text]] |
::''Chapter contents'': Where to write? Output channels: console, standard output file, user output file, variable. Changing output channel. Default output channel. Default output mode. | ::''Chapter contents'': Where to write? Output channels: console, standard output file, user output file, variable. Changing output channel. Default output channel. Default output mode. | ||
::''Statements and functions'': <tt>write</tt>, <tt>select</tt>, <tt>outputOpen</tt>, <tt>outputAppend</tt>, <tt>outcoding</tt>, <tt>outputtype</tt>, <tt>outputmode</tt>. | ::''Statements and functions'': <tt>write</tt>, <tt>select</tt>, <tt>outputOpen</tt>, <tt>outputAppend</tt>, <tt>outcoding</tt>, <tt>outputtype</tt>, <tt>outputmode</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>12. Dialogues</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>12. Dialogues</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto12-Dialogues.pdf [full text]] |
::''Chapter contents'': Data entry ''vs'' data update. Checking user action. Text entry/update. Selecting one item. Selecting multiple items. | ::''Chapter contents'': Data entry ''vs'' data update. Checking user action. Text entry/update. Selecting one item. Selecting multiple items. | ||
::''Statements and functions'': <tt>DIALOGbutton</tt>, <tt>ask/askData</tt>, <tt>parameter label-separator</tt>, <tt>ask-u</tt>, <tt>askText</tt>, <tt>askText-u</tt>, <tt>selectOne</tt>, <tt>selectOne-u</tt>, <tt>selectMany</tt>, <tt>selectMany-u</tt>, <tt>textwrap</tt>, <tt>stdTextX</tt>, <tt>stdTextY</tt>. | ::''Statements and functions'': <tt>DIALOGbutton</tt>, <tt>ask/askData</tt>, <tt>parameter label-separator</tt>, <tt>ask-u</tt>, <tt>askText</tt>, <tt>askText-u</tt>, <tt>selectOne</tt>, <tt>selectOne-u</tt>, <tt>selectMany</tt>, <tt>selectMany-u</tt>, <tt>textwrap</tt>, <tt>stdTextX</tt>, <tt>stdTextY</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>13. Displaying data</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>13. Displaying data</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto13-Displaying-data.pdf [full text]] |
::''Chapter contents'': Displaying a message. Message formatting. Displaying a data set. Displaying a text. Displaying a picture. Displaying a drawing. Dialogue help. Loading a file in a variable. Database browsers. | ::''Chapter contents'': Displaying a message. Message formatting. Displaying a data set. Displaying a text. Displaying a picture. Displaying a drawing. Dialogue help. Loading a file in a variable. Database browsers. | ||
::''Statements and functions'': <tt>showMessage</tt>, <tt>showData</tt>, <tt>showText</tt>, <tt>showPicture</tt>, <tt>showDrawing</tt>, <tt>maxPictureX</tt>, <tt>maxPictureY</tt>, <tt>help</tt>, <tt>fileToVariable</tt>. | ::''Statements and functions'': <tt>showMessage</tt>, <tt>showData</tt>, <tt>showText</tt>, <tt>showPicture</tt>, <tt>showDrawing</tt>, <tt>maxPictureX</tt>, <tt>maxPictureY</tt>, <tt>help</tt>, <tt>fileToVariable</tt>. | ||
− | :*SQLfast Tutorial - <font color="blue"><b>14. Advanced dialogues</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>14. Advanced dialogues</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto14-Advanced-dialogues.pdf [full text]] |
::''Chapter contents'': Dialogue box layout: multi-row, multi-column. Field and button grouping. Entry fields with a predefined value list. Displayed ''vs'' returned values. Composite dialogue box. Heterogeneous dialogue box. Controlling box styles and colors. | ::''Chapter contents'': Dialogue box layout: multi-row, multi-column. Field and button grouping. Entry fields with a predefined value list. Displayed ''vs'' returned values. Composite dialogue box. Heterogeneous dialogue box. Controlling box styles and colors. | ||
::''Statements and functions'': <tt>[(B1,B2,B3)]</tt>, <tt>[select-from-where]</tt>, <tt>askCombo</tt>, <tt>style</tt>, <tt>color</tt>, <tt>entryLength</tt>. | ::''Statements and functions'': <tt>[(B1,B2,B3)]</tt>, <tt>[select-from-where]</tt>, <tt>askCombo</tt>, <tt>style</tt>, <tt>color</tt>, <tt>entryLength</tt>. | ||
− | :*SQLfast Tutorial - <b>15. Large data objects</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>15. Large data objects</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto15-Big-data.pdf [full text]] |
::''Chapter contents'': Reading and writing large text files. Reading and writing large binary files. Storing large objects in adatabase. | ::''Chapter contents'': Reading and writing large text files. Reading and writing large binary files. Storing large objects in adatabase. | ||
::''Statements and functions'': <tt>fileToVariable</tt>, <tt>variableToFile</tt>, <tt>variableToFile #n</tt>, <tt>insertLOB</tt>, <tt>onError</tt>. | ::''Statements and functions'': <tt>fileToVariable</tt>, <tt>variableToFile</tt>, <tt>variableToFile #n</tt>, <tt>insertLOB</tt>, <tt>onError</tt>. | ||
− | :*SQLfast Tutorial - <b>16. Writing data tables - Part 1</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>16. Writing data tables - Part 1</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto16-Writing-tables-1.pdf [full text]] |
::''Chapter contents'': Displaying the result of select query on the output channel. Changing the output format. CSV output format. Key-Value output format. CSV output format. CSV output format. Running an external program. | ::''Chapter contents'': Displaying the result of select query on the output channel. Changing the output format. CSV output format. Key-Value output format. CSV output format. CSV output format. Running an external program. | ||
::''Statements and functions'': <tt>parameter select-align</tt>, <tt>execSQL</tt>, <tt>execProg</tt>, <tt>outputOpen</tt>. | ::''Statements and functions'': <tt>parameter select-align</tt>, <tt>execSQL</tt>, <tt>execProg</tt>, <tt>outputOpen</tt>. | ||
− | :*SQLfast Tutorial - <b>17. Writing data tables - Part 2</b>, draft version, | + | :*SQLfast Tutorial - <font color="blue"><b>17. Writing data tables - Part 2</b>, draft version, October 24, 2016.</font> [http://www.info.fundp.ac.be/~dbm/Documents/Tutorials/SQLfast/SQLfast-Tuto17-Writing-tables-2.pdf [full text]] |
::''Chapter contents'': XML output format. HTML output format. Tuple output format. RTF output format. SQL output format. LateX output format. JSON output format. | ::''Chapter contents'': XML output format. HTML output format. Tuple output format. RTF output format. SQL output format. LateX output format. JSON output format. | ||
<Retour à la page d'accueil / Back>
Sommaire |