- 浏览: 2567049 次
- 性别:
- 来自: 成都
-
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
Android UI(3)Getting Started - Saving Data
1. Saving Data
Saving Key-Value Sets
SharedPreferences object points to a file containing key-value pairs and provides simple methods to read and write them.
Get a Handle to a SharedPreferences
getSharedPreferences(key_name,mode) - Multiple shared preference files identified by names, and this is called by Context.
In activity:
Context context = getActivity();
SharedPreferences sharedPref = context.getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE);
getPreferences() - Only one shared preference file for the activity.
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
If we create preferences file with MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE, then other apps can access the data.
Write to Shared Preferences
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPref.edit();
editor.putInt(getString(R.string.saved_high_score), newHighScore); // getString()
editor.commit();
Read from Shared Preferences
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
int defaultValue = getResources().getInteger(R.string.saved_high_score_default);
long highScore = sharedPref.getInt(getString(R.string.saved_high_score), defaultValue);
2. Saving Files
Deal with the android file system with the File API. It is good the store the image files or anything exchanged over a network.
Choose Internal or External Storage
“internal” and "external" storage are coming from the old days, when most devices offered built-in non-volatile memory(internal storage), removable storage medium such as a micro SD card(external storage).
The apps are installed onto the internal storage by default, you can specify the android:installLocation in manifest file.
Obtain Permissions for External Storage
<manifest …>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</manifest>
Right now, apps have the read permission by default to external storage.
And for internal storage, by default, apps have that permissions.
Save a File on Internal Storage
File handler methods:
getFileDir()
getCacheDir()
File file = new File(context.getFilesDir(), filename);
Examples to write a file>
String filename = "myfile";
String hello = "Hello";
FileOutputStream outputStream;
try{
outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
outputStream.write(hello.getBytes());
}catch(Exception e){
e.printStackTrace();
}finally{
outputStream.close();
}
Save a File on External Storage
public boolean isExternalStorageWritable(){
String state = Environment.getExternalStorageState();
if(Evironment.MEDIA_MOUNTED.equals(state)){
return true;
}
return false;
}
/* Checks if external storage is available to at least read */
public boolean isExternalStorageReadable(){
String state = Environment.getExternalStorageState();
if(Environment.MEDIA_MOUNTED.equals(state) ||
Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)){
return true;
}
return false;
}
Even all the files stored on external storage can be accessed by other apps. But there are still 2 parts in external, private and public.
public File getAlbumStorageDir(String albumName){
File file = new File(Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_PICTURES),albumName);
if(!file.mkdirs()){
Log.e(LOG_TAG, "Directory not there");
}
return file;
}
public File getAlbumStorageDir(Context context, String albumName){
File file = new File(context.getExternalFilesDir(
Environment.DIRECTORY_PICTURES), albumName);
if(!file.mkdirs()){
Log.e(LOG_TAG, "Directory not there!");
}
return file;
}
Query Free Space
getFreeSpace()
getTotalSpace()
Delete a File
myFile.delete()
myContext.deleteFile(fileName);
3. Saving Data in SQL Databases
android.database.sqlite
Define a Schema and Contract
//===========database
public static final String TABLE_NAME = "product";
public static final String COLUMN_NAME_PRODUCT_ID = "product_id";
public static final String COLUMN_NAME_PRODUCT_NAME = "product_name";
public static final String COLUMN_NAME_PRODUCT_PRICE = "product_price";
public static final String COLUMN_NAME_PRODUCT_DESN = "product_desn";
public static final String COLUMN_NAME_PRODUCT_IMAGE_URL = "product_imageurl";
publicstaticfinalStringSQL_CREATE = "CREATE TABLE " + TABLE_NAME + " ( " +
COLUMN_NAME_PRODUCT_ID + " INTEGER PRIMARY KEY," +
COLUMN_NAME_PRODUCT_NAME + " TEXT," +
COLUMN_NAME_PRODUCT_PRICE + " TEXT," +
COLUMN_NAME_PRODUCT_DESN + " TEXT," +
COLUMN_NAME_PRODUCT_IMAGE_URL + " TEXT" +
");";
public static final String SQL_DROP = "DROP TABLE IF EXISTS " + TABLE_NAME;
//===========database
I defined all these things in my model object.
Create a Database Using a SQL Helper
package com.sillycat.easyrestclientandroid.dao.db;
import com.sillycat.easyrestclientandroid.model.Product;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class BasicDBHelper extends SQLiteOpenHelper {
public static final int DATABASE_VERSION = 1;
public static final String DATABASE_NAME = "sillycat.db";
public BasicDBHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}
public void onCreate(SQLiteDatabase db) {
db.execSQL(Product.SQL_CREATE);
}
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL(Product.SQL_DROP);
onCreate(db);
}
}
Put Information into a Database
public class ProductDBDAOImpl implements ProductDAO {
private BasicDBHelper helper;
public ProductDBDAOImpl(BasicDBHelper helper) {
this.helper = helper;
}
…snip…
public Product insert(Product product) {
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getWritableDatabase();
Long id = db.insert(Product.TABLE_NAME,
Product.COLUMN_NAME_PRODUCT_NAME, getValues(product));
product.setProductId(id);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
return product;
}
}
private ContentValues getValues(Product item) {
ContentValues values = new ContentValues();
values.put(Product.COLUMN_NAME_PRODUCT_DESN, item.getProductDesn());
values.put(Product.COLUMN_NAME_PRODUCT_ID, item.getProductId());
values.put(Product.COLUMN_NAME_PRODUCT_IMAGE_URL,item.getProductImageURL());
values.put(Product.COLUMN_NAME_PRODUCT_NAME, item.getProductName());
values.put(Product.COLUMN_NAME_PRODUCT_PRICE, item.getProductPrice());
return values;
}
…snip…
}
Read Information from a Database
public List<Product> all() {
List<Product> items = new ArrayList<Product>();
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
Cursor cursor = null;
try {
db = helper.getReadableDatabase();
cursor = db.query(Product.TABLE_NAME, new String[] {
Product.COLUMN_NAME_PRODUCT_DESN,
Product.COLUMN_NAME_PRODUCT_ID,
Product.COLUMN_NAME_PRODUCT_IMAGE_URL,
Product.COLUMN_NAME_PRODUCT_NAME,
Product.COLUMN_NAME_PRODUCT_PRICE }, null, null, null, null, null);
if (cursor != null && cursor.getColumnCount() > 0) {
cursor.moveToFirst();
while (cursor.getPosition() != cursor.getCount()) {
items.add(getItem(cursor));
cursor.moveToNext();
}
}
} catch (Exception e) {
e.printStackTrace();
} finally {
if (cursor != null) {
cursor.close();
}
if (db != null) {
db.close();
}
}
}
return items;
}
private Product getItem(Cursor cursor) {
Product item = new Product();
item.setProductDesn(cursor.getString(0));
item.setProductId(cursor.getLong(1));
item.setProductImageURL(cursor.getString(2));
item.setProductName(cursor.getString(3));
item.setProductPrice(cursor.getString(4));
return item;
}
Delete Information from a Database
publicboolean deleteById(Long productId) {
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getReadableDatabase();
db.delete(Product.TABLE_NAME, "id = ?",
new String[] { productId + "" });
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
}
return false;
}
Update a Database
public Product update(Product product) {
Product item = null;
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getWritableDatabase();
db.update(Product.TABLE_NAME, getValues(product), "id=?",
new String[] { "" + product.getProductId() });
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
}
return item;
}
DBGuard is just an empty class that used to lock the synchronized things. I am not sure it is necessary. How can the customer type his mobile devices in that fast? Haha.
References:
http://developer.android.com/training/basics/data-storage/index.html
1. Saving Data
Saving Key-Value Sets
SharedPreferences object points to a file containing key-value pairs and provides simple methods to read and write them.
Get a Handle to a SharedPreferences
getSharedPreferences(key_name,mode) - Multiple shared preference files identified by names, and this is called by Context.
In activity:
Context context = getActivity();
SharedPreferences sharedPref = context.getSharedPreferences(getString(R.string.preference_file_key), Context.MODE_PRIVATE);
getPreferences() - Only one shared preference file for the activity.
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
If we create preferences file with MODE_WORLD_READABLE or MODE_WORLD_WRITEABLE, then other apps can access the data.
Write to Shared Preferences
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
SharedPreferences.Editor editor = sharedPref.edit();
editor.putInt(getString(R.string.saved_high_score), newHighScore); // getString()
editor.commit();
Read from Shared Preferences
SharedPreferences sharedPref = getActivity().getPreferences(Context.MODE_PRIVATE);
int defaultValue = getResources().getInteger(R.string.saved_high_score_default);
long highScore = sharedPref.getInt(getString(R.string.saved_high_score), defaultValue);
2. Saving Files
Deal with the android file system with the File API. It is good the store the image files or anything exchanged over a network.
Choose Internal or External Storage
“internal” and "external" storage are coming from the old days, when most devices offered built-in non-volatile memory(internal storage), removable storage medium such as a micro SD card(external storage).
The apps are installed onto the internal storage by default, you can specify the android:installLocation in manifest file.
Obtain Permissions for External Storage
<manifest …>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</manifest>
Right now, apps have the read permission by default to external storage.
And for internal storage, by default, apps have that permissions.
Save a File on Internal Storage
File handler methods:
getFileDir()
getCacheDir()
File file = new File(context.getFilesDir(), filename);
Examples to write a file>
String filename = "myfile";
String hello = "Hello";
FileOutputStream outputStream;
try{
outputStream = openFileOutput(filename, Context.MODE_PRIVATE);
outputStream.write(hello.getBytes());
}catch(Exception e){
e.printStackTrace();
}finally{
outputStream.close();
}
Save a File on External Storage
public boolean isExternalStorageWritable(){
String state = Environment.getExternalStorageState();
if(Evironment.MEDIA_MOUNTED.equals(state)){
return true;
}
return false;
}
/* Checks if external storage is available to at least read */
public boolean isExternalStorageReadable(){
String state = Environment.getExternalStorageState();
if(Environment.MEDIA_MOUNTED.equals(state) ||
Environment.MEDIA_MOUNTED_READ_ONLY.equals(state)){
return true;
}
return false;
}
Even all the files stored on external storage can be accessed by other apps. But there are still 2 parts in external, private and public.
public File getAlbumStorageDir(String albumName){
File file = new File(Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_PICTURES),albumName);
if(!file.mkdirs()){
Log.e(LOG_TAG, "Directory not there");
}
return file;
}
public File getAlbumStorageDir(Context context, String albumName){
File file = new File(context.getExternalFilesDir(
Environment.DIRECTORY_PICTURES), albumName);
if(!file.mkdirs()){
Log.e(LOG_TAG, "Directory not there!");
}
return file;
}
Query Free Space
getFreeSpace()
getTotalSpace()
Delete a File
myFile.delete()
myContext.deleteFile(fileName);
3. Saving Data in SQL Databases
android.database.sqlite
Define a Schema and Contract
//===========database
public static final String TABLE_NAME = "product";
public static final String COLUMN_NAME_PRODUCT_ID = "product_id";
public static final String COLUMN_NAME_PRODUCT_NAME = "product_name";
public static final String COLUMN_NAME_PRODUCT_PRICE = "product_price";
public static final String COLUMN_NAME_PRODUCT_DESN = "product_desn";
public static final String COLUMN_NAME_PRODUCT_IMAGE_URL = "product_imageurl";
publicstaticfinalStringSQL_CREATE = "CREATE TABLE " + TABLE_NAME + " ( " +
COLUMN_NAME_PRODUCT_ID + " INTEGER PRIMARY KEY," +
COLUMN_NAME_PRODUCT_NAME + " TEXT," +
COLUMN_NAME_PRODUCT_PRICE + " TEXT," +
COLUMN_NAME_PRODUCT_DESN + " TEXT," +
COLUMN_NAME_PRODUCT_IMAGE_URL + " TEXT" +
");";
public static final String SQL_DROP = "DROP TABLE IF EXISTS " + TABLE_NAME;
//===========database
I defined all these things in my model object.
Create a Database Using a SQL Helper
package com.sillycat.easyrestclientandroid.dao.db;
import com.sillycat.easyrestclientandroid.model.Product;
import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;
public class BasicDBHelper extends SQLiteOpenHelper {
public static final int DATABASE_VERSION = 1;
public static final String DATABASE_NAME = "sillycat.db";
public BasicDBHelper(Context context) {
super(context, DATABASE_NAME, null, DATABASE_VERSION);
}
public void onCreate(SQLiteDatabase db) {
db.execSQL(Product.SQL_CREATE);
}
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {
db.execSQL(Product.SQL_DROP);
onCreate(db);
}
}
Put Information into a Database
public class ProductDBDAOImpl implements ProductDAO {
private BasicDBHelper helper;
public ProductDBDAOImpl(BasicDBHelper helper) {
this.helper = helper;
}
…snip…
public Product insert(Product product) {
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getWritableDatabase();
Long id = db.insert(Product.TABLE_NAME,
Product.COLUMN_NAME_PRODUCT_NAME, getValues(product));
product.setProductId(id);
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
return product;
}
}
private ContentValues getValues(Product item) {
ContentValues values = new ContentValues();
values.put(Product.COLUMN_NAME_PRODUCT_DESN, item.getProductDesn());
values.put(Product.COLUMN_NAME_PRODUCT_ID, item.getProductId());
values.put(Product.COLUMN_NAME_PRODUCT_IMAGE_URL,item.getProductImageURL());
values.put(Product.COLUMN_NAME_PRODUCT_NAME, item.getProductName());
values.put(Product.COLUMN_NAME_PRODUCT_PRICE, item.getProductPrice());
return values;
}
…snip…
}
Read Information from a Database
public List<Product> all() {
List<Product> items = new ArrayList<Product>();
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
Cursor cursor = null;
try {
db = helper.getReadableDatabase();
cursor = db.query(Product.TABLE_NAME, new String[] {
Product.COLUMN_NAME_PRODUCT_DESN,
Product.COLUMN_NAME_PRODUCT_ID,
Product.COLUMN_NAME_PRODUCT_IMAGE_URL,
Product.COLUMN_NAME_PRODUCT_NAME,
Product.COLUMN_NAME_PRODUCT_PRICE }, null, null, null, null, null);
if (cursor != null && cursor.getColumnCount() > 0) {
cursor.moveToFirst();
while (cursor.getPosition() != cursor.getCount()) {
items.add(getItem(cursor));
cursor.moveToNext();
}
}
} catch (Exception e) {
e.printStackTrace();
} finally {
if (cursor != null) {
cursor.close();
}
if (db != null) {
db.close();
}
}
}
return items;
}
private Product getItem(Cursor cursor) {
Product item = new Product();
item.setProductDesn(cursor.getString(0));
item.setProductId(cursor.getLong(1));
item.setProductImageURL(cursor.getString(2));
item.setProductName(cursor.getString(3));
item.setProductPrice(cursor.getString(4));
return item;
}
Delete Information from a Database
publicboolean deleteById(Long productId) {
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getReadableDatabase();
db.delete(Product.TABLE_NAME, "id = ?",
new String[] { productId + "" });
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
}
return false;
}
Update a Database
public Product update(Product product) {
Product item = null;
synchronized (DBGuard.class) {
SQLiteDatabase db = null;
try {
db = helper.getWritableDatabase();
db.update(Product.TABLE_NAME, getValues(product), "id=?",
new String[] { "" + product.getProductId() });
} catch (Exception e) {
e.printStackTrace();
} finally {
if (db != null) {
db.close();
}
}
}
return item;
}
DBGuard is just an empty class that used to lock the synchronized things. I am not sure it is necessary. How can the customer type his mobile devices in that fast? Haha.
References:
http://developer.android.com/training/basics/data-storage/index.html
发表评论
-
ionic UI(4)ionic2 framework - basic and components and native
2016-03-24 02:33 1270ionic UI(4)ionic2 framework - b ... -
ionic UI(3)TypeScript - handbook
2016-03-22 23:21 645ionic UI(3)TypeScript - handboo ... -
ionic UI(2)ionic2 framework - TypeScript - tutorial
2016-03-22 06:52 1672ionic UI(2)ionic2 framework - T ... -
Parse and Heroku Service(3)Parse Server and Parse Dashboard
2016-03-22 06:30 982Parse and Heroku Service(3)Pars ... -
Parse and Heroku Service(2)Mail Templates and Push Notification
2016-03-22 02:45 594Parse and Heroku Service(2)Mail ... -
ionic UI(1)Introduction
2016-03-19 03:18 734ionic UI(1)Introduction 1 Inst ... -
Parse and Heroku Service(1)Heroku Installation and Play
2016-03-19 00:13 831Parse and Heroic Service(1)Hero ... -
Hybrid(5)Customize Meteor Directly Google Login
2015-09-01 02:33 916Hybrid(5)Customize Meteor Direc ... -
Hybrid(4)Favorite Places - Google Login
2015-09-01 02:02 1352Hybrid(4)Favorite Places - Goog ... -
Hybrid(3)More Meteor Example - Social
2015-08-11 05:04 771Hybrid(3)More Meteor Example - ... -
Hybrid(2)meteor Running Android and iOS
2015-07-28 23:59 1064Hybrid(2)meteor Running Android ... -
Create the Google Play Account
2015-07-18 06:42 1115Create the Google Play Account ... -
Secure REST API and Mobile(1)Document Read and Understand OAUTH2
2015-07-14 00:36 778Secure REST API and Mobile(1)Do ... -
Screen Size and Web Design
2015-07-11 01:11 736Screen Size and Web Design iPh ... -
Hybrid(1)ionic Cordova meteor
2015-06-25 05:49 493Hybrid(1)ionic Cordova meteor ... -
Android Fire Project(1)Recall Env and Knowledge
2015-02-11 12:28 699Android Fire Project(1)Recall ... -
Android Content Framework(1)Concept
2014-06-14 13:54 1099Android Content Framework(1)Con ... -
Feel Android Studio(1)Install and Update Android Studio
2014-04-11 03:12 2055Feel Android Studio(1)Install a ... -
IOS7 App Development Essentials(2)iBeacon
2014-03-05 05:55 902IOS7 App Development Essentials ... -
IOS7 App Development Essentials(1) Persistent Store
2014-03-05 05:54 1349IOS7 App Development Essentials ...
相关推荐
【清华大学】DeepSeek从入门到精通(视频课程+PDF)
自2019年以来,教育部启动实施“双高计划”,遴选确定首批“双高计划”建设单位197所,其中高水平学校建设单位56所,高水平专业群建设单位141所,河南省有黄河水利职业技术学院、河南工业职业技术学院等6所职业学校入选。2022年,教育部开展国家“双高计划”中期绩效评价,从评价结果看,国家“双高计划”任务进展顺利,建设成效突出,形成了一批先进经验做法和典型案例,在引领职业教育改革、服务国家战略和支撑区域发展方面形成示范势头。 今天,我们给大家分享一些“双高计划”专业群完整申报书与建设方案和中期评估报告。 ## 一、专业群完整申报书与建设方案 ## 二、“双高计划”中期报告 (100多份)
内容概要:本文详细探讨了电商平台上秒杀系统中减库存的设计逻辑和技术优化方法。首先,文中阐述了‘下单减库存’、‘付款减库存’和‘预扣库存’三种常见方式及其各自面临的问题和局限性,尤其是面对高并发流量冲击下的系统稳定性与数据准确性保障挑战。接着讨论了适用于大规模促销活动中快速而精准地扣除存货的方法,提出了诸如应用本地缓存(Local Cache)、引入高性能持久化键值存储(如Redis),甚至修改数据库引擎源代码(InnoDB 层面排队机制)等一系列先进解决方案来确保交易流程顺畅。此外,还提到了在极端情况发生(例如超卖)时如何借助补救措施挽回损失的具体实例。 适合人群:电商平台开发运维技术人员;有兴趣深入了解电商业务架构和技术优化的开发者和IT管理人员。 使用场景及目标:①帮助设计师理解不同减库存策略的应用时机及其利弊;②指导程序员针对特定业务需求选择最适合的技术路径进行项目构建;③提供给运维专家关于改善在线交易平台响应速度和服务质量的专业见解。 其他说明:本篇文章对于构建高效的电子商贸系统有着极高的参考价值,尤其是那些准备应对瞬息万变市场环境下的企业来说尤为重要。它不仅限于理论探讨层面,
动态表单,VUE动态表单。基于vue+elementplus实现动态表单组件,通过拖拽组件到面板即可实现一个表单。支持各个组件的动态隐藏显示,动态表格弹窗式维护。
【毕业设计】java-springboot-vue家居日用小百货交易网站实现源码(完整前后端+mysql+说明文档+LunW).zip
【毕业设计】java-springboot+vue火锅店管理系统源码(完整前后端+mysql+说明文档+LunW).zip
随着信息技术在管理上越来越深入而广泛的应用,管理信息系统的实施在技术上已逐步成熟。本文介绍了微服务在线教育系统的开发全过程。通过分析微服务在线教育系统管理的不足,创建了一个计算机管理微服务在线教育系统的方案。文章介绍了微服务在线教育系统的系统分析部分,包括可行性分析等,系统设计部分主要介绍了系统功能设计和数据库设计。 本微服务在线教育系统有管理员,用户两个角色。管理员功能有个人中心,用户管理,课程信息管理,课程类型管理,学科管理,购买的课程管理,职业规划管理,视频点播管理,我的笔记管理,我的课程管理,消息通知管理,学习交流,试卷管理,留言板管理,试题管理,系统管理,考试管理。用户功能有个人中心,用户管理,购买的课程管理,我的笔记管理,我的课程管理,消息通知管理。因而具有一定的实用性。 本站是一个B/S模式系统,采用SSM框架,MYSQL数据库设计开发,充分保证系统的稳定性。系统具有界面清晰、操作简单,功能齐全的特点,使得微服务在线教育系统管理工作系统化、规范化。本系统的使用使管理人员从繁重的工作中解脱出来,实现无纸化办公,能够有效的提高微服务在线教育系统管理效率。 关键词:微服务在线教育系统;SSM框架;MYSQL数据库;Spring Boot
javascript 基于Javascript实现,强化学习QLearning的一个贪吃蛇实例.
python教程学习
我国科学技术的不断发展,计算机的应用日渐成熟,其强大的功能给人们留下深刻的印象,它已经应用到了人类社会的各个层次的领域,发挥着重要的不可替换的作用。信息管理作为计算机应用的一部分,使用计算机进行管理,具有非常明显的优点,利用网络的优势特开发了本基于Spring Boot的IT技术交流和分享平台。 本IT技术交流和分享平台是基于Spring Boot框架,采用Java技术,MYSQL数据库进行开发的。系统具有灵活的一体化设计方式,圆满完成了整个系统的界面设计。本系统实现了用户功能模块和管理员功能模块两大部分,通过该系统用户可以快速进行IT技术交流和分享,管理员可登录系统后台对系统进行全面管理,确保系统正常稳定的运行。系统功能齐全,符合用户IT技术交流和分享的需求。 本文主要首先介绍了课题背景、设计原则和研究内容,系统采用的相关技术及开发平台,接着对本基于Spring Boot的IT技术交流和分享平台进行系统需求分析和设计,包括系统的功能模块,数据库的设计,系统结构以及系统界面设计等,最后对进行系统测试,完成本篇论文。 关键词:IT技术交流, Spring Boot框架, Java技术,MYSQL数据库
疲劳检测yawn图片数据集
JDK7通过java-jwt验证
【毕业设计】java-springboot+vue会议管理系统实现源码(完整前后端+mysql+说明文档+LunW).zip
python学习资源
51CTO 1、技术解析篇-DeepSeek入门宝典 2、开发实战篇-DeepSeek入门宝典 3、行业应用篇-DeepSeek入门宝典 4、个人使用篇-DeepSeek入门宝典
内容概要:本文档是由高正奇编辑的针对模式识别和机器学习(PRML)教科书的一份详细的解答手册。文档覆盖了从基本概念如误差函数求导、贝叶斯定理应用到多元高斯分布计算、Gamma函数积分及其性质等一系列复杂问题的解决方案,以及涉及线性模型分类的基础练习题、条件概率和联合概率计算等入门级习题。每一题都经过细致推导,帮助学生加深对机器学习相关概念的理解并掌握具体的数学方法。 适合人群:主要适用于正在攻读机器学习、模式识别相关课程的学生,以及从事数据科学工作的专业人士作为深入理解和实践指南。 使用场景及目标:本手册旨在辅助教学过程中遇到的具体难题解析,在研究和实践中作为参考资料进行理论验证和技术难点突破,尤其有助于准备考试或者项目实施时需要巩固知识的应用场合。 其他说明:书中题目涵盖广泛,既有直观的概率论应用,也有复杂的积分变换技巧和最优化思路展示,对于希望提高自身计算能力和解决实际问题能力的学习者非常有价值。但要注意的是,部分内容较为深奥,可能不适合初学者自学使用,最好配合课堂讲解或其他教材一起学习效果更佳。
python学习资源
RFID-MATLAB的高等数学-CH06.rar
spaceX 动力学分析
如今的信息时代,对信息的共享性,信息的流通性有着较高要求,因此传统管理方式就不适合。为了让美容院信息的管理模式进行升级,也为了更好的维护美容院信息,美容院管理系统的开发运用就显得很有必要。并且通过开发美容院管理系统,不仅可以让所学的SpringBoot框架得到实际运用,也可以掌握MySQL的使用方法,对自身编程能力也有一个检验和提升的过程。尤其是通过实践,可以对系统的开发流程加深印象,无论是前期的分析与设计,还是后期的编码测试等环节,都可以有一个深刻的了解。 美容院管理系统根据调研,确定其实现的功能主要包括美容用品管理,美容项目管理,美容部位管理,销量信息管理,订单管理,美容项目预约信息管理等功能。 借助于美容院管理系统这样的工具,让信息系统化,流程化,规范化是最终的发展结果,让其遵循实际操作流程的情况下,对美容院信息实施规范化处理,让美容院信息通过电子的方式进行保存,无论是管理人员检索美容院信息,维护美容院信息都可以便利化操作,真正缩短信息处理时间,节省人力和信息管理的成本。 关键字:美容院管理系统,SpringBoot框架,MySQL