Today, I am bored. The full-stack multi-screen engineers are not doing well due to various technologies and problems.

Source: Internet
Author: User

Today, I am bored. The full-stack multi-screen engineers are not doing well due to various technologies and problems.
Comments: Full-stack multi-screen engineers are not doing well.

Today is the most annoying day for writing code recently.

1. failed to send text messages to company projects.
One of the platforms could not send messages successfully, which cannot blame me.
First, because the API address of the http sms interface is incorrect, 404.
Instead, the WebService interface does not have an SDK package and only contains the SDK documentation.

2. There is a problem with the table component grid.
No matter how you try, paging always fails.
The grid component written by a colleague in the past is usually used, but 2.0 and 3.0 are greatly changed.
The format of the parameter is changing, and the method of accepting the parameter is also changing. SpringMVC receives the parameter. 2.0 is used normally, and @ RequestBody must be added to 3.0.
Or manually modify the ajax code in the grid component.

Question 228 Summary: 228. Why to use @ RequestBody to receive parameters after the st-grid3.0? // SpringMVC receives the request normally. You do not need to use @ RequestBody $. ajax ({url: this. dataSource, data: this. params, // & JSON. stringify (this. params), // contentType: "application/json", type: this. method | 'post', dataType: 'json', context: this, success: this. fill, error: this. onerror}); if you remove the comments from two places, you must use @ RequestBody

I always thought that I should read his source code and then transform it into my own.
However, it has never been done.
The Code he wrote is nice and concise, but has no comments and has poor readability.
In addition, his code encountered various bugs during my previous use. Is it because my scenario is always special?

I wrote a front-end ajax asynchronous Page Based on my previous comments on the Alibaba Cloud official website. The company project has a Freemarker display layer page.

Another major problem is that the paging components of the second-click colleagues always conflict with Bootstrap and DWZ.

After I encountered this problem again today, I decided to transform my ajax asynchronous paging, instead of transforming the grid component written by my colleague in seconds.

3. HTML5 development.
HBuilder's company, digital heaven network, has launched a front-end framework, MUI.
However, when AJAX is used, the system prompts that the plus does not exist.
It seems that the HTML5Plus environment is not correctly introduced. It is normal to create an HTML5 Plus project separately.

So the question now is how to inherit the Html5 Plus and MUI frameworks.
HBuilder feels good, but there are not enough documents for the other two products. It takes a long time to learn.

Currently, the most feasible method is to run every official example once, then integrate it, and then use these technologies to write your FansUnion official website-mobile edition.

Of course, the mobile version is much simpler, mainly to develop mobile apps through HTML5.
 
Years later, I will study Android Development carefully. There are still many development tasks in the last two months, and many articles will be written.


4. Lucene has reached the 4th major version.
Some APIs are not compatible with the 3.x version. Whether to upgrade them is a problem.
You have to study hard.

5. Mybatis is unfamiliar.
The ResultMap ing of Mybatis has been written for a long time.
For a long time, Map has been used to accept parameters, and bean is basically not used.
However, after a long time of thinking and exploration, I think that using model is the best solution. Therefore, we need to use ResultMap to solve the problem that the database Field Names and java attribute names do not match.
The reason is that the naming rules for databases are different from those for Java. I like to follow the naming rules.

That's all.

6. Eclipse often gets stuck. After modifying the code, save it and it takes a long time to respond.
You have to find a way to optimize Eclipse.
Since 2015, Eclipse is still so capricious.

It seems that I can't be suspended on another IDE. HBuilder, IDEA, and other IDE should all learn.
 
CSDN2014 blog Star Selection, vote for Xiao Lei

Http://vote.blog.csdn.net/blogstar2014/details? Username = fansunion

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.