Table of Contents
回复内容:
Home Backend Development PHP Tutorial javascript - 新手想在短期内写一个个人博客,是用php还是用nodejs?

javascript - 新手想在短期内写一个个人博客,是用php还是用nodejs?

Jun 06, 2016 pm 08:09 PM
javascript node.js php

因为有门课程老师让做一个网站,我是做一个简单的博客。我对jquery,js,css这些比较熟悉,以前也写过一些php,是继续学习php呢?还是现在去学习nodejs?如果用nodejs,对前端语言有要求吗?比如要会angularjs么

回复内容:

因为有门课程老师让做一个网站,我是做一个简单的博客。我对jquery,js,css这些比较熟悉,以前也写过一些php,是继续学习php呢?还是现在去学习nodejs?如果用nodejs,对前端语言有要求吗?比如要会angularjs么

http://demo.getrelax.io/admin/login 现成的cms

nodejs就是前端做的事, 你说对前端语言有没有要求...
但是nodejs和angularjs, react这类MV*框架没有什么联系, nodejs有自己的框架, 如Express, koa之类

应付作业的话就用node呗,而且你还对js熟悉,服务器端就用express或者koa就可以了,扩展度很高,去看看官方文档基本5分钟上手,不过这之前可能需要先了解了解node本身的东西,比如event、module之类的。

和各种前端框架没有什么联系。

用nodejs吧,简单的博客用nodejs就可以搞定了,nodejs近年来也是越来越火

直接用hexo搭建博客呗,基于nodejs的,皮肤样式网上有很多选择,不喜欢也可以自己手动修改。我的博客地址:http://shijiajie.com

hexo,很容易搭建,写文章也很方便

你想不想上线运行?
php 的虚拟空间,好找,免费的,就算要国内的便宜的也一大把
nodejs 好难,国外免费的访问速度太慢,国内我到现在也没有找到一个免费的,

还是先考虑这点,再去决定选择吧,我的应用本来是用nodejs的,结果发现没地能跑,在大部分完成的情况下,又改成了PHP 当然土豪随意

hexo+githubPage 博客程序 不做推荐 wordpress说不定哪天你要迁徙空间或者迁徙到其他程序时候就会想哭了。。。。

我也是个前端小白,月底就要答辩了。我的毕业设计也是用node写的简单博客系统,jquery基本够用了。主要参考node实战里面的例子

用wordpress啊,然后去Openshift申请个小的云服务器,还支持,你说坡菲不坡菲

推荐用node,node上手很快,express对于新手来说,好用,也好理解

我觉得你可以用静态网站生成器有两款性能不错的推荐一下
1、 hexo 使用nodejs开发的,很适合你这种有前端基础的开发者

2、hugo 使用go开发的,性能比hexo要好,但是没有hexo方便扩展,语言也有点小众

你可以参考一下我的文章 hugo - 最好用的静态网站生成器

我个人喜欢用hugo, 当然wordpress这些动态语言的cms也可以尝试, 不过搭建环境比静态工具要麻烦点。

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. Best Graphic Settings
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
R.E.P.O. How to Fix Audio if You Can't Hear Anyone
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian PHP 8.4 Installation and Upgrade guide for Ubuntu and Debian Dec 24, 2024 pm 04:42 PM

PHP 8.4 brings several new features, security improvements, and performance improvements with healthy amounts of feature deprecations and removals. This guide explains how to install PHP 8.4 or upgrade to PHP 8.4 on Ubuntu, Debian, or their derivati

CakePHP Date and Time CakePHP Date and Time Sep 10, 2024 pm 05:27 PM

To work with date and time in cakephp4, we are going to make use of the available FrozenTime class.

CakePHP Working with Database CakePHP Working with Database Sep 10, 2024 pm 05:25 PM

Working with database in CakePHP is very easy. We will understand the CRUD (Create, Read, Update, Delete) operations in this chapter.

CakePHP File upload CakePHP File upload Sep 10, 2024 pm 05:27 PM

To work on file upload we are going to use the form helper. Here, is an example for file upload.

CakePHP Routing CakePHP Routing Sep 10, 2024 pm 05:25 PM

In this chapter, we are going to learn the following topics related to routing ?

Discuss CakePHP Discuss CakePHP Sep 10, 2024 pm 05:28 PM

CakePHP is an open-source framework for PHP. It is intended to make developing, deploying and maintaining applications much easier. CakePHP is based on a MVC-like architecture that is both powerful and easy to grasp. Models, Views, and Controllers gu

CakePHP Creating Validators CakePHP Creating Validators Sep 10, 2024 pm 05:26 PM

Validator can be created by adding the following two lines in the controller.

CakePHP Logging CakePHP Logging Sep 10, 2024 pm 05:26 PM

Logging in CakePHP is a very easy task. You just have to use one function. You can log errors, exceptions, user activities, action taken by users, for any background process like cronjob. Logging data in CakePHP is easy. The log() function is provide

See all articles