Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the advanced skills for using common development tools in big data?

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the advanced use skills of big data's commonly used development tools, which have a certain reference value. Interested friends can refer to them. I hope you will gain a lot after reading this article. Let's take a look at it.

1.postman variable setting

Postman is a very popular API debugging tool. It can simulate all kinds of network requests, and most web developers will use this tool. Some of its basic uses are as follows:

It also has a commonly used variable setting function, the use of scenarios: if your project is to use token to verify user identity, you need to use multiple user accounts for interface testing, if you are to manually copy each user's token to postman, this is very troublesome, and if token expires, you have to manually update, so the operation is too painful. You can set multiple variables, as shown in the following figure:

The following auth refers to the value corresponding to the above auth

When you call the login API, write a JavaScript script under the tests option of postman to store the token in the global variable. After sending the request, the value of the shadou_token variable will be updated in real time according to the js code in the Tests. And switch to the environment variable which token you need, so that some of your request parameters can be easily maintained. You can also divide the requested ip address into an online environment and a test environment as a variable.

2.navicat uses ssh channel to connect to the database

Navicat premium is a very powerful database management software. It has a simple and beautiful interface and supports functions such as data transmission, import and export, and the software can connect to your remote database or your local database. For example, to connect to a mysql database, you usually need to set the user name and password of the ip, port and mysql of the mysql machine, as shown below:

But what do you need to do if your database doesn't allow remote connections for security reasons, but you still want to manage your database with navicat? You can use the ssh channel it provides to connect to the MySQL database. In addition to configuring the configuration of the General palette, you also need to configure the contents of the SSH option, as follows:

Once configured, you can connect to the MySQL database through the ssh channel through Navicat.

3. Pycharm code version management operation

If your project uses git for code version management, and you happen to be using pycharm as a development tool, you can use pycharm's graphical interface for git commands. As shown below:

Just click the green tick in the upper right corner and a pop-up window will pop up. You can choose which code files to submit this time, select more icons next to commit, click Commit and Push, and it will automatically help you perform the whole process of code submission.

You can also click the time icon in the upper right corner to view the code history version of the current file, as shown below:

Thank you for reading this article carefully. I hope the article "what are the advanced skills for using common development tools in big data" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support and pay attention to the industry information channel. More related knowledge is waiting for you to learn!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report