диплом (Мобильное приложение для оформления заказов на транспортировку товаров), страница 8
Описание файла
Файл "диплом" внутри архива находится в следующих папках: Мобильное приложение для оформления заказов на транспортировку товаров, Аршиева К.К. Документ из архива "Мобильное приложение для оформления заказов на транспортировку товаров", который расположен в категории "". Всё это находится в предмете "дипломы и вкр" из 8 семестр, которые можно найти в файловом архиве ДВГУПС. Не смотря на прямую связь этого архива с ДВГУПС, его также можно найти и в других разделах. .
Онлайн просмотр документа "диплом"
Текст 8 страницы из документа "диплом"
6 Дмитриев, А.В. Логистика транспортно- экспедиторских услуг / А.В. Дмитриев, М.В. Афанасьев. – СПб.: Изд-во СПбГУЭФ, 2010. – 104 с.
7 Кокин, А.С. Международная транспортная экспедиция / А.С. Кокин, Г.А. Левиков. – М.:Дело.– 2005.– 448с.
8 Кузнецов, С.Д. Основы баз данных / С.Д. Кузнецов. – М.: Бином.– 2007.–484с.
9 Сайт DB-engines [Электронный ресурс] // 2016.– Режим доступа: http://db-engines.com/en/ranking, свободный.– Загл. с экрана.
10 Сайт JSON [Электронный ресурс] // 2016. – Режим доступа: http://www.json.org/, свободный. – Загл. с экрана
11 Сайт Php [Электронный ресурс] // 2016.– Режим доступа: http://php.net/, свободный.– Загл. с экрана
12 Сайт IDC [Электронный ресурс]// 2015. – Режим доступа: http://www.idc.com/prodserv/smartphone-market-share.jsp, свободный. – Загл. с экрана
13 Сайт NetMarketshare.com [Электронный ресурс] // 2016. – Режим доступа: https://www.netmarketshare.com/operating-system-market-share.aspx, свободный. – Загл. с экрана.
14 Принципы проектирования Android [Электронный ресурс].– Режим доступа: http://developer.android.com/intl/ru/design/get-started/principles.html, свободный.– Загл. с экрана.
15 Clifton, I. Android User Interface Design: Turning Ideas and Sketches into Beautifully Designed Apps (Usability) / I. Clifton. – Addison-Wesley Professional. – 2013. – 400 p.
16 Nudelman, G. Android Design Patterns: Interaction Design Solutions for Developers / G. Nudelman. – John Wiley & Sons, Inc. – 2013.– 458p.
17 Colborne, G. Simple and Usable Web, Mobile, and Interaction Design/G. Colborne. – New Riders.– 2010.–208p.
18 Johnson, J. Designing with the Mind in Mind, Second Edition: Simple Guide to Understanding User Interface Design Guidelines / J. Johnson.– Morgan Kaufmann. – 2014. – 250p.
19 Android Authority: Grant, K. Android’s design guidelines: what are they, and why should you care? [Электронный ресурс] / K. Grant. – 2014. – Режим доступа: http://www.androidauthority.com/android-design-guidelines-514918. – Загл. с экрана
20 Lehtimaki, J. Smashing. Android UI: Responsive User Interfaces and Design Patterns for Android Phones and Tablets / J. Lehtimaki. – Wiley.– 2012. – 384p.
21 McKay, E.N. UI is Communication: How to Design Intuitive, User Centered Interfaces by Focusing on Effective Communication / E. N. McKay. – Morgan Kaufmann. – 2013.– 378p.
22 Motherdoard: Cox, J. The hack that will never go away [Электронный ресурс] / J. Cox. – 2015. – Режим доступа: http://motherboard.vice.com/read/the-history-of-sql-injection-the-hack-that-will-never-go-away, свободный. – Загл. с экрана
23 Nixon, R. Learning PHP, MySQL & JavaScript: With jQuery, CSS & HTML5 / R. Nixon. – O'Reilly Media. – 2014. – 812p.
24 Zandstra, M. PHP Objects, Patterns and Practice (Expert's Voice in Open Sourse) / M. Zandstra. – Apress. – 2010. – 546p.
25 Lockhart, Josh. Modern PHP: New Features and Good Practices / J. Lockhart. – O'Reilly Media. – 2015. – 270p.
26 Andorid Developers [Электронный ресурс] / 2016. – Режим доступа: https://developer.android.com, свободный. – Загл. с экрана
27 Smith, D. Android Recipes: A Problem-Solution Approach / D. Smith, J. Friesen. – Apress. – 2011. – 442p.
28 Savitch, W. Java: An Introduction to Problem Solving and Programming / W. Savitch. – Pesrson. 2014. – 1024p.
29 Sugomori, Y. Java Deep Learning Essentials / Y. Sugomori. – Packt Publishing. – 2016. – 254p.
30 Шилдт, Г. Java. Полное руководство / Г. Шилдт. – М.: Вильямс. – 2014. – 1104с.
31 Annuzzi, J. Jr. Introduction to Android Application Development: Android Essentials / J. Annuzzi Jr, L. Darcey, S. Conder. – Addison-Wesley Professional. – 2015. – 704p.
32 Horstmann, C.S. Core Java Volume I-Fundamentals / C.S. Horstmann. – Prentice Hall. – 2016. – 1040p.
33 Java Platform, Standart Edition (Java SE) 8 [Электронный ресурс] / 2016. – Режим доступа: https://docs.oracle.com/javase/8/, свободный. – Загл. с экрана
34 Phillips, B. Android Programming: The Big Nerd Ranch Guide / B. Phillips. – Big Nerd Ranch Guides. – 2015. – 600p.
35 Annuzzi, J. Jr. Advanced Android Application Development / J. Annuzzi Jr, L. Darcey, S. Conder. – Addison-Wesley Professional. – 2014. – 624p.
36 Миньков, С.Л. Технико-экономическое обоснование выполнения проекта: методическое пособие / С.Л. Миньков. – Томск: ТУСУР, 2014. – 30 с.
Приложение А
(рекомендуемое)
Макеты пользовательского интерфейса приложения
Листинг А.1 – Экран авторизации пользователя
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context=".Login">
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_marginTop="85dp"
android:id="@+id/loLogin"
android:layout_alignParentLeft="true"
android:layout_alignParentRight="true"
android:layout_centerInParent="true">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/labelLogin"
android:id="@+id/tvUser" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/teUsername"
android:layout_gravity="center_horizontal"
android:hint="@string/inputLogin"/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/labelPass"
android:id="@+id/tvPass" />
<EditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/tePassword"
android:layout_gravity="center_horizontal"
android:hint="@string/inputPass"
android:inputType="textPassword" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/singin"
android:id="@+id/bLogin"
android:layout_gravity="center_horizontal"
android:elegantTextHeight="false" />
</LinearLayout>
<LinearLayout
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:id="@+id/loReg"
android:layout_alignParentStart="false"
android:layout_below="@+id/loLogin">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/reg"
android:id="@+id/bReg"
android:layout_alignParentTop="true"
android:layout_centerHorizontal="true"
android:layout_gravity="center_horizontal" />
</LinearLayout>
</RelativeLayout>
Листинг А.2 – Экран отображения списка заказов
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingBottom="@dimen/activity_vertical_margin"
android:paddingLeft="@dimen/activity_horizontal_margin"
android:paddingRight="@dimen/activity_horizontal_margin"
android:paddingTop="@dimen/activity_vertical_margin"
tools:context="com.example.acid.continent.MyOrders">
<ListView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:id="@+id/lvOrders" />
</RelativeLayout>
Приложение Б
(рекомендуемое)
Серверные сценарии
Листинг Б.1 – Сценарий для авторизации пользователя
<?php
require("dbConfig.php");
if(isset($_SESSION['login_user'])){
$response["success"] = 1;
$response["message"] = "Login successful.";
}
if(!empty($_POST)){
$query = "select uID, uLogin, uPassword from users where uLogin = :username;";
$opt = array(':username' => $_POST['username']);
try {
$prep = $db->prepare($query);
$result = $prep->execute($opt);
}
catch (PDOException $ex){
$response["success"] = 0;
$response["message"] = "Database Error! Please try again.";
$response["error"] = $ex->getMessage();
die(json_encode($response));
}
$ident = false;
$row = $prep->fetch();
if($row){
if($_POST['password'] === $row['uPassword']) {
$ident = true;
}
}
if($ident){
$_SESSION['login_user'] = $_POST['username'];
$response["success"] = 1;
$response["message"] = "Login successful.";
die(json_encode($response));
}
else {
$response["success"] = 0;
$response["message"] = "Invalid login or password";
die(json_encode($response));
}
}
Листинг Б.2 – Сценарий для выборки данных о заказе
<?php
require("dbConfig.php");
if(!empty($_POST['username'])){
if(!empty($_POST["oID"])) {
$query = "select uID from users where uLogin = :username;";
$opt = array(':username' => $_POST['username']);
try{
$prep = $db->prepare($query);
$prep->execute($opt);
}
catch (PDOException $ex){
$response["success"] = 0;
$response["message"] = "Database Error! Please try again.";
$response["error"] = $ex->getMessage();
die(json_encode($response));
}
function findStreet($database, $streetID){
$query = "select strStreetName from street where strID = :id;";
$opt = array(':id' => $streetID);
try{
$prep = $database->prepare($query);
$prep->execute($opt);
}
catch(PDOException $ex){
$response["success"] = 0;
$response["message"] = "Database Error! Please Try Again.";
$response["error"] = $ex->getMessage();
die(json_encode($response));
}
return $prep->fetchColumn();
}
function findCity($database, $cityID){
$query = "select ctCityName from city where ctID = :id;";
$opt = array(':id' => $cityID);
try{
$prep = $database->prepare($query);
$prep->execute($opt);
}
catch(PDOException $ex){
$response["success"] = 0;
$response["message"] = "Database Error! Please Try Again.";
$response["error"] = $ex->getMessage();
die(json_encode($response));
}
return $prep->fetchColumn();
}
function findStatus($database, $statusID){
$query = "select statusName from status where sID = :id;";
$opt = array(':id' => $statusID);
try{
$prep = $database->prepare($query);
$prep->execute($opt);
}
catch(PDOException $ex){
$response["success"] = 0;
$response["message"] = "Database Error! Please Try Again.";
$response["error"] = $ex->getMessage();