在 SAE 上如何维护网站?
因为以前没有开发过复杂的网站,不太了解网站的维护应该如何进行,希望大家能指点。
SAE - PHP
1.例如网站目前是1.0版本,而我正在开发1.1版本。那我如何在不让网站用户察觉的情况下调试网站?因为我需要不断的 submit 新的版本,来检查自己的代码是否正确 (mac下没有SAE本地调试)
2.如何开发后台?例如我是一个社交网站,我需要用管理员的帐号来删除一些不良信息。那是应该新开发一个网页还是直接在原网页的基础上判断用户是否是管理员,以此来显示管理员工具?
希望大家能够解答我的问题!谢谢!
回复内容:
因为以前没有开发过复杂的网站,不太了解网站的维护应该如何进行,希望大家能指点。
SAE - PHP
1.例如网站目前是1.0版本,而我正在开发1.1版本。那我如何在不让网站用户察觉的情况下调试网站?因为我需要不断的 submit 新的版本,来检查自己的代码是否正确 (mac下没有SAE本地调试)
2.如何开发后台?例如我是一个社交网站,我需要用管理员的帐号来删除一些不良信息。那是应该新开发一个网页还是直接在原网页的基础上判断用户是否是管理员,以此来显示管理员工具?
希望大家能够解答我的问题!谢谢!
- SAE或BAE提供版本管理的,其他版本可以用类似这样的形式访问:
http://2.appname.sinaapp.com
,不影响主版本上线。 - 都有比较好。简单的,顺手就做的事情放前台,例如删除个别帖子。复杂的,大费周章的操作放后台,例如批量删帖。你可以参考Discuz! X的实现,还是比较科学的。

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP is mainly procedural programming, but also supports object-oriented programming (OOP); Python supports a variety of paradigms, including OOP, functional and procedural programming. PHP is suitable for web development, and Python is suitable for a variety of applications such as data analysis and machine learning.

PHP is suitable for web development and rapid prototyping, and Python is suitable for data science and machine learning. 1.PHP is used for dynamic web development, with simple syntax and suitable for rapid development. 2. Python has concise syntax, is suitable for multiple fields, and has a strong library ecosystem.

PHP originated in 1994 and was developed by RasmusLerdorf. It was originally used to track website visitors and gradually evolved into a server-side scripting language and was widely used in web development. Python was developed by Guidovan Rossum in the late 1980s and was first released in 1991. It emphasizes code readability and simplicity, and is suitable for scientific computing, data analysis and other fields.

PHPhassignificantlyimpactedwebdevelopmentandextendsbeyondit.1)ItpowersmajorplatformslikeWordPressandexcelsindatabaseinteractions.2)PHP'sadaptabilityallowsittoscaleforlargeapplicationsusingframeworkslikeLaravel.3)Beyondweb,PHPisusedincommand-linescrip

React's main functions include componentized thinking, state management and virtual DOM. 1) The idea of componentization allows splitting the UI into reusable parts to improve code readability and maintainability. 2) State management manages dynamic data through state and props, and changes trigger UI updates. 3) Virtual DOM optimization performance, update the UI through the calculation of the minimum operation of DOM replica in memory.

What’s still popular is the ease of use, flexibility and a strong ecosystem. 1) Ease of use and simple syntax make it the first choice for beginners. 2) Closely integrated with web development, excellent interaction with HTTP requests and database. 3) The huge ecosystem provides a wealth of tools and libraries. 4) Active community and open source nature adapts them to new needs and technology trends.

Oracle is not only a database company, but also a leader in cloud computing and ERP systems. 1. Oracle provides comprehensive solutions from database to cloud services and ERP systems. 2. OracleCloud challenges AWS and Azure, providing IaaS, PaaS and SaaS services. 3. Oracle's ERP systems such as E-BusinessSuite and FusionApplications help enterprises optimize operations.

MySQL efficiently manages structured data through table structure and SQL query, and implements inter-table relationships through foreign keys. 1. Define the data format and type when creating a table. 2. Use foreign keys to establish relationships between tables. 3. Improve performance through indexing and query optimization. 4. Regularly backup and monitor databases to ensure data security and performance optimization.
