[Learning posture] using Angularjs+codeigniter framework Experience

Source: Internet
Author: User
Tags codeigniter

This article summarizes the new things and issues encountered in the July project, including the two frameworks (CodeIgniter, AngularJS) and two functional implementations. There are front-end debug display dynamic authentication, also useful PHP implementation function module.

1. Add a Device

Main useAJSInput judgment and form validation when adding devices,HTMLLabel useng-controller= "Adding_ctrl"to indicateAJSThe scope of the code. Elements in the form andAJSVariable binding, in$scopeUsed inNg-modelThe variable name of the property to read the data. Use the form submission handler functionPHPWhen it's written, where it needs to be called, such as informUsed in tagsng-submit= "Name of function"To invoke the function. It's in my writing.Cam_addfunction, the physical address of the camera is scanned and recordedIPAddress, if it exists or does not exist there will be a corresponding prompt, this part of the pop-up warning is written inAJSIn Scan usingNmapCommand, withPHPIn theexecExecutes the system command. At the system level, an additionalPHPScript that automatically scans the current online device for a time period,PingThe state is modified by the general rule. This section mainly carries on the calendar to the database.

2. Real-time video

Real-time video is mainly a dynamic display of VLC streaming media and devices. VLC works perfectly in a pure HTML environment, but the player does not display properly when joining AJS to implement the current database's camera, or the reason for VLC and its sequential loading sequence. The solution is to write the VLC player in AJS and import it as an object into the Web page for normal playback.

3. Problems encountered

The primary presence in the deployment environment and connection database errors. I recorded these errors in Evernote .

4.Next

The next one is NodeJS 's learning mission.

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.