Wood Dust Date: 2015-01-17App-framework Learning--panel ValueAbout the AppFrameWork page value problem, many people ask, today here to give a few suggestions:1. Local data access/******** Local data access function *********/var localstorageutils = { setparam:function (name, value) { Localstorage.setitem (name, jsonutils.tostring (value)); }, getparam:function (name) { var obj = Localstorage.getitem (name); return Jso
I'm currently working on the iphone web App. Because the product form is novel, the technical environment is immature, the company gives the more relaxed research and development time. In the one-month interactive design phase, each link has been discussed several times, I learned a lot from it. The design of the navigation system is a more typical point, take out and share the discussion.
The challenges o
I:asp.net Pre-work for MVC3 deployment1. Confirm that the server operating system environment is deployedFirst, we confirm that the operating system version of the server can be entered from the System command line tool: SystemInfo Obtaining relevant operating system information for example, then confirm IIS version information, open the IIS Administration Tool, and then confirm the version of the. NET Framework Can be performed on the system command
Back to the "open source" EFW Framework Series article indexEFW Framework Source code Download V1.2:http://pan.baidu.com/s/1hcnuaEFW Framework Instance source code download: Http://pan.baidu.com/s/1o6MAKCa Preface : EFW framework is mainly used for industry software software development, so the interface needs to em
in the layout and bind Javascript to Android APIs. After Android supports more screen resolutions (supports high-resolution and low-resolution screens), Android2.0 adds some features in the Webkit framework, allows the Web page to specify the viewport attribute and query the screen resolution to revise the style and image attributes, as mentioned above. These features are part of the Android Webkit
This article is from the "little Bit of Programming" blog, be sure to keep this source http://andylhx.blog.51cto.com/8891164/1745545Web. XML settings for Java Web-app
the custom base class for all activity in the app, you can do some common thingsThe entry class for the Mainactivity.java application can also be put into a specific function moduleBaseapplication.java Application Management class, do some basic initialization or configuration that all apps will use. Application of other applications should then beIt is inherited by this baseapplicationFor reference, take a look at the pictures on the Internet:The Ap
() { List Tag.find ( "select New Map (T.name as Tag , Count (p.id) as pound) from the Post p join P.tags as T GROUP by T.name ORDER by T.name " ). Fetch () ; return result;}6. Add tag to the page/yabe/conf/initial-data.yml Adding preset dataTag (play): name: play Tag (architecture): Name: architecture Tag (test): name: Test Tag (MVC ): name: MVC Post (jeffpost): title: The MVC application postedat
; @Required @Password public String Password; Public String fullname; Public String isadmin; Public String toString () { return email; }}Enter http://localhost:9000/admin/Select Add user to enter user form for testing Public classPostextendsModel {@Required PublicString title; @Required PublicDate Postedat; @Lob @Required @MaxSize (10000) PublicString content; @Required @ManyToOne PublicUser author; @OneToMany (Mappedby= "POST", Cascade =Cascadetype.all) P
Play Framework implements a complete APP (8), frameworkapp
Create a Tag
1. Create a Model
@Entity@Table(name = "blog_tag")public class Tag extends Model implements Comparable
2. Add Tag attributes for the Post class
@ManyToMany(cascade = CascadeType.PERSIST)public Set
3. Post class Addition Method
Associate Post and Tag
public Post tagItWith(String name) { tags.add(Tag.findOrCreateByName(name));
Play Framework implements a complete APP (9), frameworkapp
Add, delete, modify, and query operations
1. Enable CRUD Module
In/Conf/application. confAdd
# Import the crud modulemodule.crud=${play.path}/modules/crud
In/Conf/routesAdd
# Import CRUD routes* /admin module:crud
Restart the Server and import the CRUD Module.
2. Add a controller
/App
Play Framework implements a complete APP (14th), frameworkapp
Add Test
ApplicationTest. java
@ Testpublic void testAdminSecurity () {Response response = GET ("/admin"); assertStatus (302, response); assertHeaderEquals ("Location", "http: // localhost/login ", response );}
More test Introduction
Http://play-framework.herokuapp.com/zh/guide10
* The problem encountered in the previous section i
Play Framework implements a complete APP (5), frameworkapp
The program is available and the page needs to be improved.
1. Create a Page Template
Create a fileApp/views/tags/display.html
*{ Display a post in one of these modes: 'full', 'home' or 'teaser' }*
Modify index.html
#{extends 'main.html' /}#{set title:'Home' /} #{if frontPost} #{display post:frontPost, as:'home' /} #{if olderPo
1. Smoke TestTesting is generally done using Mokey or other automated testing tools to ensure the robustness and testability of the software.2, installation, uninstall test
Install and uninstall directly on the real machine (adb install or ADB push directly on the phone)
Third-party software assists with installation, uninstall (at least pea pod, 91 and other mainstream auxiliary tools)
Upgrade Installation
Online Upgrade Installation
Online cross-Version upgrade instal
not know how.The author is more active, give a portal bar: github-weolar/miniblink49Summarize:Web desktop application framework in all, it's either hard or weak, or more restrictive.Although the front-end has been advocating JS full stack, but I think the multi-lingual cooperation is more advantageous.The ideal framework to do this: the core algorithm can be compiled + can be combined with the GUI
Play Framework fully implements an APP (1), frameworkapp
A blog engine projectYabe.
1. Create a project
>play new yabe
Set Application Name:Yet Another Blog Engine.
2. Create an Eclipse configuration file
>play eclipsify yabe
Import Eclipse
3.modify index.html
#{extends 'main.html' /}#{set title:'Home' /}
4. Modify Application. java
public static void index() { System.out.println("Yop"); r
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.