There are the programming sections of this course:
- Java GUI Programming with JavaFX.
- Php/Smarty Templates web Programming.
- FuelPhp/Smarty Templates web Programming.
Each part relies on a database backend which includes MySQL.
In more detail, these are the programming features:
- Java Development Kit (JDK)
- JavaFX development using FXML
- SceneBuilder GUI to edit the FXML files
- MySQL database access
- Php programming: editing, execution
- Apache Web Server
- A Web Browser
- Smarty template support
- FuelPhp framework support
To achieve these ends on Windows, MAC, or Linux I use the following tools:
XAMPP: providing MySQL (MariaDB), Apache, and Php
a low-level system shell (command shell, terminal, cygwin)
a simple system editor (Notepad++, nano, vim),
web browser of your choice (Chrome, Firefox)
You are welcome to replace these tools by others, but I will base my notes
on what I have mentioned.
Here are some issues with other possibilities.
If you have different experiences, I would welcome your input.
Java is poised to go to version 9, but you should use JDK 8.
NetBeans, currently version 8.2, is now sponsored by the
Apache Software Foundation and it is gearing up to go to
version 9, which will support Java 9.
Version 8.2 does not run on the Java 9 platform.
This works quite well with JavaFX and FXML.
Unfortunately, you have to get the "Ultimate Edition" to get Php support
(which does automatically support Smarty). No sign of FuelPhp support.
This supports JavaFX per se with the e(fx)clipse plugin installed.
You can generate FX applications and the FXML file,
but there is no automatic generation of the controller and the main class
which calls the FXML file.
Eclipe has good support for Php, but
I cannot get the Smarty Templates plugin to work.
This package gives a convenient way to get Apache,
MySQL and Php onto your system.
The MAC already comes with Apache/Php both of which can be used as an
alternative to XAMPP, but are likely to be harder to configure.
Windows has non of the three components,
and I would definitely recommend using XAMPP.
For Linux, the installation/configuration of MySQL/Apache/Php is
quite transparent, and so I would recommend not using XAMPP.
Safari Web Browser:
Any web brower is OK, but you need to be able to see the Full URL.
By default, the Safari browser hides this full URL.
Simply go to Safari Preferences, click the Advanced tab,
and check the "Show full website address" box.
Development on your own computer or on Student Linux system
You are encouraged to set up your own local system to do the programming.
However, if necessary, it can all be done on the Student Linux System (taz)
either directly or remotely. If you want to do so, you'll have to
ask me to set up a database for you.