django为javascript开发人员解释

When you learn a back-end framework, you become used to doing projects in a certain way. My first framework was Express (the E in MERN stack), a very minimalist JavaScript framework.

当您学习后端框架时,就会习惯于以某种方式进行项目。 我的第一个框架是Express(在MERN堆栈中的E),这是一个非常简单JavaScript框架。

I would describe Express as a blank canvas. The boilerplate code will get your development server up and running but not much else. You the developer will then install lots of third-party packages known as ‘middleware’ to get things running the way you like them. Express gives developers lots of freedom and flexibility, but starting a project from scratch is a lot of work.

我将Express形容为一块空白画布。 样板代码将使您的开发服务器启动并运行,但没有太多其他功能。 然后,您将为开发人员安装许多称为“中间件”的第三方程序包,以使您的程序以您喜欢的方式运行。 Express为开发人员提供了许多自由和灵活性,但是从头开始一个项目需要大量工作。

Django is a framework that uses Python instead of JavaScript. Its main difference from Express is there are a lot more features built into the framework, many of which can be customized to your own tastes.

Django是使用Python而不是JavaScript的框架。 它与Express的主要区别在于框架中内置了许多功能,其中许多功能都可以根据自己的喜好进行定制。

Moving from Express to Django has made me a more productive developer. Having lots of features built-in makes it quick and easy to get projects up and running, leaving me with more time to focus on the meat of an application.

从Express迁移到Django,使我变得更有生产力。 内置许多功能可以快速轻松地启动和运行项目,这使我有更多时间专注于应用程序。

Today, I’m sharing with you 6 good bits and 3 not so good bits about Django.

今天,我将与您分享6个关于Django的好地方和3个不是很好的地方。

优点: (The good bits:)

1. Django管理面板 (1. The Django Admin panel)

This is a convenient, visual way to explore and manage your data. For Node developers, it is similar to Atlas for MongoDB but built into your application.

这是浏览和管理数据的便捷,直观的方式。 对于Node开发人员,它类似于适用于MongoDB的Atlas,但内置于您的应用程序中。

The best part of the Admin panel is that your clients can use it as well. You, the developer, can set up user groups and permissions to control what they can and can’t do. You can even customize the Admin panel with the client’s branding.

“管理”面板中最好的部分是您的客户也可以使用它。 您(开发人员)可以设置用户组和权限来控制他们可以做什么和不能做什么。 您甚至可以使用客户的品牌自定义管理面板。

Image for post
The Django admin panel provides a convenient and customizable way to manage your data. Image from: https://developer.mozilla.org/en-U
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值