RIA development, as a single page application, solves the performance trap of RIAIt is a very important thing. Some of the following performance traps are summarized by the younger brother himself in the project.
Thank you!
1. Page htmlCodeToo many
Many people think that finding a DOM object when there are too many HTML code will greatly affect the browser performance. This tips:Once a module-level DOM object is created, it is assigned an index
("GetUnitType", typeof(IEnumerableView code
Ria service method:
namespace SilverlightRiaService.Web{ using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.ServiceModel; using System.ServiceModel.DomainServices.Hosting; using System.ServiceModel.DomainServices.Server; [EnableClientAccess()] public class ServiceClass : DomainService { public string GetUnitType(int unit, s
. This article takes a lot of space to explain an uncomplicated example of how to develop your own RIA through detailed thinking and development processes. can see that to make this type of RIA, although it still requires a certain art base and page design capabilities, but its basic production steps are no less than two steps: 1. Use HTML and CSS to make your own UI. 2. Carefully examine the beha
implemented using metadata. Entity Access: dbcontext can automatically construct SQL statements for related operations. Complex queries can be executed directly using SQL statements. After a dataset is returned, it is encapsulated or processed in the business logic layer. Actually, it cannot inherit the base class, implement your own personalized data access method (for details about the Entity Framework, refer to my original blog post. It was just an anatomy. This time I basically implemented
To ensure the effectiveness of the ORM in the previous section
1. we first use the shortcut key (CTRL + Shift + B) to compile the entire project once. If an error occurs after the project is completed, ignore it. net Ria service or CTP version, so there are still some problems, but it is very powerful.
2. In the same way as in the previous section, select "domain service class" in the Add new item and change the name to funsldomainservice. CS.
Cl
When aspnetcompatibilityenabled = "true" When, SL cannot reference the WCF Service,
When browsing the file of the Servics. SVC in WCF, an error is prompted, as shown below:
The service cannot be activated because it does not support ASP. net compatibility. ASP. net compatibility is enabled for this application. turn Off ASP. net compatibility mode in the web. config or add the aspnetcompatibilityrequirements attribute to the service type with requirementsmode setting as 'allowed' or 'required '.
Paip. Java Desktop development applications and web Ria applications
SWT.1
Java Desktop development framework invokeui1
JDIC components...2
Javafx ..2
SWT
All know
Java Desktop development framework invokeui
Invokeui is a Java Desktop development framework.
It encapsulates APIs on the flex interface locally in Java to implement quick construction using Java.
The purpose of the beautiful desktop program. The invokeui framework is built on smartin
Silverlight Ria ServiceSummary of development practices (1)
How to update (add entity) domainservice and metadata class
The first time you use the Wizard to generate LINQ-to-SQL data model Or Ado.net Entity Data Model Created later Domain Service And Metadata class You can use the Wizard to easily generate the correspondingCodeBut it is inevitable that a new table or field will be added during the development process, although LINQ-
difference is: as a function, it can be executed directly and fully utilize the context of the Function Code body, such as being convenient by applying or calling methods; being used as a constructor is greatly restricted and lacks the flexibility of functions.In JavaScript, metaprogramming is implemented. The so-called metaprogram is function, and the data or code used for running is a series of extensions derived from function or function.
This article is recommended by Tu chuanbin and Yang
Function: Enforce login for login account, use if to determine whether the current account is available. If available, then jump out of the if body directly login, if not available, then enter if body click the "force Login" button.Issue: If not available, the object in the if condition is not visible, and the program throws an error #1009 (unable to access the property or method of the null object reference).Handling method: The IF statement is placed in the try catch to handle the exception er
DWZ-RIA v1.2 final
1. When the hidden IFRAME is used to process the brushless new form submission, the server returns the same JSON format as the normal dwz normal Ajax form submission (that is, validatecallback and iframecallback return the same JSON format ). For details, see "File Upload form submission ".
2. added the lookup component of the associated object.
3. Modified dwz. Stable. js to solve the title of the table component. After pullin
At least so far, after testing, I found that one entity a references another entity member B. If another member B References entity member A, if A is null, no problem, if a is not blank, a circular reference on the instance will be formed with B, which will cause the client access prompt to fail to find the call method error, I think it should be this loop reference that causes infinite loops when the client is returned for serialization. Of course, if the instance does not form a loop, it will
In RIA-Silverlight 3ProgramIn the development architecture-1, the development of relevant programs for composite entities is too complex.
The architecture of applications added to the navigation attribute is updated as follows:
UI-businesscontex (entity)-domaincontext (entity)-domainservice-objectcontext-Database
The following is a small system. I have no good solutions for many systems, such as EDM objectcontext and domainservice.
1. Database: de
Official casync.js:www.cityooh.comC_async.js is a free, JQ-based development framework that helps you to modularize subsets of features, quickly build single-page Web applications, assemble common features in daily RIA Development, and customize the import based on actual project requirements.At present, Casync.js introduces the concept of page and define, which is a modular loader similar to sea.js, which can greatly facilitate developers to divide t
Yesterday (March 25) began to migrate the existing desktop applications developed using WinForms (a scientific data analysis software) to Silverlight, which can be used as Ria or OFB (out-of-browser) applications, Also prepare for future SaaS applications and cloud applications.
Porting a WinForms-developed desktop application to Silverlight is difficult to imagine, especially in applications involving a large number of IO operations. In addition, du
The MySQL service on the local computer is stopped after it is started. Some services will be automated when they are not used by other services or programs, and other mysql services
Re-install the MySQL database. Due to the sloppy installation, all the way to next (in fact, strict configuration is required in some places and I forgot to pay attention to it), it
have a service called Sysnap. In the registration table you can find the relevantInformation.... Of course you can change the service name to your own .... Svload.exe's code is simple: I didn't bet.Release,,,, if you need my reply note again. I'm tired now.The basic framework of a service1 Perceptual knowledge what is Service2 Installing services with INF files3 Some basic theoretical knowledge about services41 Creation processes and basic components
CXF with spring releases WS services with SOAP services, RESTful services1. Visit: http://localhost:8088/sniperWS/services/See what services are available, including Available SOAP services, Available RESTful Services2. Client calls RESTful services:Http://localhost:8088/sni
Some software installed on the computer will have one or more services in the system service management, such as Apache,vmware software will appear in the computer services, can be started with the system start, of course, can also be set not to start, and so to use the time to start again, (You can enter services.msc directly into the service list), but some software installed on the computer will not have
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.