SEEM4570: XAMPP, Eclipse , Summary of Html

SEEM4570: XAMPP, Eclipse , Summary of Html

SEEM4570: XAMPP, Eclipse , Summary of Html Kangfei Zhao Room 711,ERB Email: [email protected] Outline XAMPP

XAMPP Install Put php and HTML documents Windows and Mac Version Security Eclipse Introduction Setup

Install Plug-in New and Run a Project on an Emulator Eclipse Introduction A web application requires

A web server A database A interpreter XAMPP: A free and open source cross-platform web server solution stack package X: Cross-platform

A: Apache HTTP Server M: MySQL database P: PHP (the interpreter) P: Perl (the interpreter) Download from:

http://www.apachefriends.org/en/xampp-windows.html XAMPP 5.5 Installer Environment XAMPP v1.8.3

Windows Reminder Use corresponding version for Mac and Linux Installation Only download and un zip No installer

Start with Assume the unzip dir ectory is: c:\xampp Run C:\xampp\xamp p-control Run Programs Run PHP

Needs the Microsoft Visual C++ 2008 Redistributable package http://www.microsoft.com/en-us/download/details.aspx?id=5582 PHP (*.php), Perl (*.cgi) and others located in => C:\xampp\htdocs\ Security XAMPP

Not meant for production use Only for developers in a development environment A list of missing security The MySQL administrator (root) has no password The MySQL daemon is accessible via network phpMyAdmin is accessible via network

Fix most of the security weaknesses http://localhost/security/ The root password for MySQL and phpMyAdmin a XAMPP directory protection Outline XAMPP XAMPP Install

Put php and HTML documents Windows and Mac Version Security Eclipse Introduction Setup Install Plug-in

New and Run a Project on an Emulator Eclipse Introduction An Integrated Development Environment (IDE) A standalone software Support multiple languages such as Java,

C, HTML, CSS3, php, etc. Android Development Tools (ADT) Bundle http://developer.android.com/sdk/index.html Eclipse + ADT plugin Android SDK Tools Android Platform-tools, etc Java EE IDE

Eclipse Java EE IDE for Web Developers http://www.eclipse.org/downloads/ Unzip the file to any place as conveni ence Remember to install Java SDK http://www.oracle.com/technetwork/java/ja vase/downloads/jdk7-downloads-1880260.

html Environment Setup in tutorial Windows platform Eclipse Android

You can use another setting for the course like Mac, Linux Netbeans Setup Choose a workspace A directory used by Eclipse to store your so urce codes

If you are first starting, Eclipse will ask you t o specify the workspace to use Install Android Plug-in Must install Android SDK before (no need if installed ADT bundl e) http://dl.google.com/android/installer_r22.3-windows.exe

Eclipse: Help Install New Software Add the repository https://dl-ssl.google.com/android/eclipse Select ADT plugin Select all items under developer tools Next

Accept the Agreement Accept the license agreement Restart Eclipse Setup the Android SDK Click OK for secu rity warning Click Open Prefer

ences to setup th e Android SDK Setup the Android SDK Click Proceed Select the Android SDK if yo u separate install Eclipse an d Android SDK

Create an Android Project New OtherA ndroid Android Applicati on Project Basic information

Input application n ame and others Select target SDK: API19 Install the correspo nding SDK version on the Android SDK manager if an error

in theme Continue to Create Click Next for following steps Finish Initial Codes

If the MainActivity shows error, please try: Project CleanClean all projects Android Virtual Device If no Android Virtual Device (AVD), a n AVD need to be created Open the Android Virtual Device Man ager (or Eclipse will open it automati

cally) New Select device, target API version and CPU Remember that you have install thos e API version before For memory, please ensure the com puter has enough memory. Otherwi

se, the emulator cannot start Run the Project Right click the project folder Run As Android Application In the first time, you may need to setup the AVD Run As Run Configuration Android Application Targe t

Debug message Unlike console program, the log need to be re-direct out of the emulator Choose Yes for auto monitor logcat Create a New HTML and CSS Project

Eclipse: File New Project Web Dynamic Web project Create New HTML pages Right click the p roject New HTML File Create CSS file i

n similar way Deploy the Webpage Use J2EE Preview at local host After running the server, we can view in other bro wsers

Recently Viewed Presentations

  • Chapter 8, Lesson 4 The Ming Dynasty - Mrs. Dudley

    Chapter 8, Lesson 4 The Ming Dynasty - Mrs. Dudley

    The Ming Dynasty's early emperors wanted to spread China's influence. By the late 1500s, however, China had limited its contact with the rest of the world. Ming Dynasty ruled China from 1368-1644. The Ming was the most stable and profound...
  • The contribution of the NCRM website to debates

    The contribution of the NCRM website to debates

    The contribution of the NCRM website to debates in research methods 4th ESRC Research Methods Festival St Catherine's College, Oxford, 8 July 2010
  • The Foundations of Islam Islam is translated as

    The Foundations of Islam Islam is translated as

    Women in Islam - one view The Prophet Mohamed in the Qur'an referred to his favorite wife Aisha and stated telling all Muslims to "Take half of your religion from this woman".When Mohamed was asked who was most important after...
  • Which bodies of water are connected by the Strait of Hormuz

    Which bodies of water are connected by the Strait of Hormuz

    The Himalayan Mountains. Why did the United States become involved in the Vietnam War? ... Is the Democratic People's Republic of Korea (North Korea) really a democracy and a republic? It is neither a democracy nor a republic. It is...
  • Essentials of Malpractice Law Ronald Schouten, MD, JD

    Essentials of Malpractice Law Ronald Schouten, MD, JD

    Tort = a civil wrong giving rise to a right to sue for damages. To what purpose? Those injured by the negligent acts of others should be compensated . Discourage dangerous/negligent behavior . Intentional and unintentional torts. Fundamental Principles
  • Real Time Performance - SAE International

    Real Time Performance - SAE International

    a small business perspective & 9103 presented to: IAQG presented by: Brian Harvey Quality Manager - Clamonta Ltd agenda morning presentation how a small business implemented 9103 afternoon break out session 9102 FAI process improvement software 9103 barriers middle management...
  • Decoding the U.S. Corporate Tax - NYU Law

    Decoding the U.S. Corporate Tax - NYU Law

    The principal change: "pooling" approach to indirect FTC from CFC repatriations. Suppose CFC-A has $1M earnings & paid $300K foreign taxes, while for CFC-B it's $1M, $100K. Current law: indirect FTCs depend on choice of CFC - so $100K dividend...
  • Market Failure Unit 1 Aims and Objectives Aim:

    Market Failure Unit 1 Aims and Objectives Aim:

    A market in which goods and services are traded free of governments intervening and providing goods and services. Define market failure. ... When there is a completely missing market: 'Complete market failure' ...