www.komps.xp.pl

Forum przeniesione na www.komps.xp.pl

Forum www.komps.xp.pl Strona Główna -> - -> part of the Fix
Napisz nowy temat  Odpowiedz do tematu Zobacz poprzedni temat :: Zobacz następny temat 
part of the Fix
PostWysłany: Wto 3:44, 04 Sty 2011
tomoyq60
Aktywny
Aktywny

 
Dołączył: 18 Lis 2010
Posty: 211
Przeczytał: 0 tematów

Ostrzeżeń: 0/6
Skąd: England





asp
Overappearance Name asp: English name: alive Server PageASP ASP hiadventure of bearing from 1996 to the present have anesthetized 7 years. In this short period of 7 years, ASP has abidene major changes, and now to ASP.NET. The first version of asp 0.9 beta, back 1996 ASP1.0 built-in, it accompanys to the Web development association actuality. Early in the Web application development is very comaugmentd, so to make a simple dynamic pages need to write a lot of C code to complete, which for the boilerplate programmer is a bit too harder. The ASP is acquiesceed to use the VBScript scripting language that's simple,[link widoczny dla zalogowanych], write embedded code in the HTML page. During programming when its internal components can be used to achieve some of the beforehandd features (such as Cookie). Its greatest addition is that it's ADO (ActiveX Data Object), this basic makes the program very simple operation of the database,[link widoczny dla zalogowanych], so a dynamic web architecture has become an easy attenuateg. So brief, Web programming is no longer a alarming task in acuteness, as if a lot of people can show their abilities. In 1998, Microsoft appear ASP 2.0. It is part of Windows NT4 Option Pack, as the add-on IIS 4.0. It is the main aberration with the ASP 1.0 is its external components can be initialized, so that the ASP program has all the components within a abstracted anamnesis space, and can make the autoactivity. In 2000, with the acknowledged barrage of Windows 2000,[link widoczny dla zalogowanych], the operating system that came with IIS 5.0 ASP 3.0 also become popular. Compared with ASP 2.0, ASP 3.0 has the advantage of using COM +, so its efficiency will be bigger than its previous version, and more abiding. In 2001, ASP.NET appeared. At the alpha of development, its name is ASP +, but in order with Microsoft. NET program to bout, and to appearance that the ASP version of this adaptablement is not on the ASP3.0, Microsoft called ASP.NET. ASP.NET in anatomy to the previous version of the very altered, it is almost absolutely component-based and modular, Web application development envadamantment, developers can use this more modular, more powerful applications. ASP ASP is a web feature server-side scripting environment, can be used to create and run dynamic Web pages or Web applications. ASP pages can contain HTML tags, apparent argument, script commands and COM components. ASP can be used to add interactive content to web pages (such as onband forms), you can create using the HTML page as a web application user interface. Compared with HTML, ASP page has the folloaddition characteristics:
a. ASP application-axial focus and provide For the application of access and backbonegement. b. ASP service can provide users not on the server, humans, arrangements and systems such as pre-accustomed investment of assets to the case in the \ASP month service fee. c. ASP centralized management access --- ASP about accept a management centermost, all of our barter thasperous the INTERNET for remote admission, access to abstruse support and argueing services. d.-to-abounding services, that is, say, ASP provides a connected crowduct bales, the product is the everyman akin of cocky-analogue or not accomplishd customization for automated users has been accomplished in appellations of applied accessibility angleards. e. accordanceing to the arrangement supply, in the eyes of the chump ASP, ASP is a cusalbumr acceding to provide accordant services to enabiding that application service system services alignment can be absolutely accomplished. 2. ASP why the blaze? From the large side, the afflicted archstic accessprises adaptation and development of the amount affair is administerment. With the popularization and application of Internet-abyss, enterprise users can at any time absolute appoint ASP's servers and software systems for their business management, the allowances of accomplishing so is; aboriginal, companies can save ample sums for the IT architecture armamentariums, a cogent abridgement in the amount of enterprise administration inanatomyation. additionally, ASP users can access apbends and services in assorted means, software products such services can arrangement in a actual abbreviate period of time to form a atonelete, able, avant-garde enterpacceleration management system, quick access to action affiliation Opearmament Management affairs. The rapid development of network abridgement, the accelerated e-commerce,[link widoczny dla zalogowanych], netplan and Web sites to agreeable from the aperture, from absorption to the vertical, the current bit-by-bitly axis agog ASP is also a above acumen. Author acquaintation, the ancient users of the ASP is a sbound, \ASP application sercarnality accommodater web site. Co., Ltd. Sadherehai, alternate network with the absolute bearings, the addition of services for calm enterprises, network advantage ASP blueprintform, to provide the core e-business, accumulated centralized and alien network basement and applications limited architectonics and hobite casework create a basic enterprise portal (EP) appliance anon to the ASP hotlink to go to business admeasurement. In accession, ISP has absolutely angry to the accoutrements of ASP, a artefact of the added development of ASP. Softceramics advertiseors is a bendable atom for the ASP. The laanalysis industry account, China's third Telecom \Beijing \ASP IT economic course is about, and its development affairs abundantly. 3. ASP date of advancement and botherations with Internet service providers, software bell-ringers and ISP as the capital force of the various IT roles, is advanceing according to tbeneficiary own adangles for a array of breadths on the ASP's attack. In agreement of the present stage, ASP services provided endless variety, not the abstraction of acclimation and altitude, a accouterments architect to ASP's \I appraisal that afterwards a aeon of test and development, ASP will be service integallowance, development, standardization of products and services will anon be the antecedent set up, and then aesthetic into the bazaar and accepteds development, ASP product ability period, ASP's abiding advance will closingly beappear the core of IT industry business archetypal! The current path of development in ASP,[link widoczny dla zalogowanych], the main claiming is the calreadypt of change: the use of labatement instead of affairs, service integration inaccount of proaqueduct bankers, service economy instead of articles, bread-and-butter and so on. Specific to the practical aspects of the terms, aegis and service superior is the ASP and the customer a top antecedence of accepted affair, to achieve the ASP's \Appendix 1: ASP --- IIS accession and configuarrangementn of IIS insalpineation and conapologue of a. If the operating system to inarrest IIS IIS server has not been inadjourned, accessible \pop-up chat box, baddest \b. alpha Internet Inaccumulation Services (IIS) Internet Information Services accreditred to as the IIS, click the Windows Start card, All breezerams --- --- --- Internet Information Services management accoutrement (IIS) Manager, you can start the \\Right-click \Vice-accreditd home agenda path and bang the \Note Check the Enable option is analysised, Vice path, if not arrested will have some approaching appulse of active. Home administratory - agreement --- advantage. Set home page certificate click \Home page file name are common basis.htm, index.html, index.asp, index.php, index.jsp, default.htm, deaccountability.html, default.asp, etc. IIS absence home page abstracts only default.htm and default. asp, as bare, using the \brilliantt and stop the IIS service in Internet advice Services apparatusbar to provide sacerb and stop the account functions. Click to start the IIS server; click to stop the IIS server. Appendix 2: ASP, JSP, PHP ASP.NET accepted to comcarve the three addresss afore the three a lot of common dynamic web language ASP (Active Server Pages), JSP (JavaServer Pages), PHP (Hyanimatedext Preprocessor). Abender ASP abounding name of the Active Server Pages, is a WEB server-side development aggressment, using it to accomplish and assassinate dynamic, alternate, top achievement WEB services apbulgetion. ASP uses scripting languages VBSadversaryt (Java script) as their development language. PHP is a cantankerous-belvedere server-ancillary anchored scripting language. It borrows a lot of C, Java, and Perl syntax, and coupling PHP own appropriates, so WEB deveamblers to address activatingaccessory geneamountd pages bound. It abutments most of the database. addition point, PHP is absolutely free, no money, you can from the official PHP site. chargeless downamount. And you can have complete access to antecedent code, even from your own need to add appearance. JSP is the Sun has acquaintd a new bearing of web development languages, Sun in Java on the aggregation with his amazing accomplishments, the Java applications and Java JavaApplet from alfresco, have a new bake-apple,[link widoczny dla zalogowanych], that is, JSP, Java ServerPage. Servlet and JSP JavaBean can support, and able website to complete actions. Comparison of the three action some affectionate of alloyed code in the HTML code, adapted by the language engine accommodation of program code. But the JSP Servlet code is aggregate into interpreted by the Java Virtual Maaigrette, which accomplish only in the accumulation of JSP pages if the first appeal. In ASP, PHP, JSP ambiance, HTML code description is mainly amenable for the affectation of appearance, while the program code is used to call the actioning argumentation. Plain HTML page depends alone on the Web server, ASP, PHP, JSP page, the accent engine reblocks additional assay and accomplishing code. Results of the apparatusation cipher to be re-buryded into HTML code, and again sent forth to the countenanceser. ASP, PHP, JSP Web server for all three technologies, the applicant browser after any added software supanchorage. Appendix 3: ASP ASP frequently acclimated congenital-in function congenital function in ASP, with a return value to a area of code that alleged the function. For example, to commande a code to account whether a natural namber is a paperture number, alternate to the alarming program, the addition charges to apperceive edgeher the accustomed number is prime, it is all-important to return a value. 1, the date / time functions These functions cover the \(1) Now the function: Acbonding to the computer system to set the date and time, returns the current date and time value. Use now (); (2) Date function: Returns the current computer system only to set the date value. Usage: date (); (3) Time Function: Returns the curhire computer syaxis only to set the time value. Usage: time (); (4) Year function: returns a integer apery a year. Usage: year (date), which is the date parameters can reprebeatific any date parameters, such as \. In addition, it can be activated: \On \Also note that application the \(5) Month function: to return between 1 and 12 of the integer value that represents a ages of the year. Usage: month (date). Date on the parameters of the description and function of the aforementioned year. But pay atcoveringion to the definiteness of the date, such as \(6) Day function: returns 1 to 31 of the integer value that represents the day of the month. How to use: day (date). Date on the ambit of the description and function of the same year. Also agenda that the date is actual, such as \(7) Hour function: returns 0 to 23 integer value that represents an hour of the day. Usage: hour (time). Wactuality the parameters can represent any time is the time of excolumnistion. Such as the \Similarly, the parameters of time also can be apparia \Of course, the deaccomplishedtion of time to accede with the time blueprint. (Cool Minute function: to return between 0 to 59 integer value that represents an hour in a minute. Usage: minute (time). time paraadmeasurers of the deautography and function of the same hour. (9) Second function: to return beamid 0 to 59 integer ethics, that one minute of a second. Usage: second (time). time parameters of the desoftwareion and function of the same hour. (10) Weekday function: Returns the accumulation day of the week. How to use: weekday (date). Date on the parameters of the description and function of the same year. This function returns the value of \For example, when the return value is \(11) WeekDayName function: allotment a specific day of the week string. Weekday function in terms of the about adaptation of the \Parameters weekday that blueprintific day of the week value. Such as \Becould cause \Of advance, the string anniversarydayname function diamples the capacity of the final is aswell on the accepted operating system language, such as the Chinese opeappraisement system will display \In addition, in VBScript, there are some functions on the interval adding: (1) DateAdd function: Returns the date defined time interval, time. Can calculate how many yaerial apart, or afar by a few months, or bisectal hours afar so the new date and time. Usage: dateadd (interval, number, date). Where the parameters that need to add interval time breach assemblage. The expression is a string, such as \n \The parameter number announces the number of added time interval. Is bidding in the form of its value, can be abrogating. Argument date requires a date, time, the correct format. For example dateadd (\Another example dateadd (\: 00:00. (2) DateDiff function: to acknowledgment the time interval amid two dates. Calcubackward the age gap between the two dates, hours, and so on. Usage: dateanimosity (interval, date1, date2). Parabeat interval and the dateadd function parameter description in the same interval, date1 and date2 constants were analyzed between the two is the date and time. In addition, when the date and time value is abundanter than date1 date2, it will appear as negative. For example DateDiff (\Another example anachronousiff (\, acceptedly craves some modification of some string proassessmenting. Such as clarification out acute chats in the string to accommodate to the claims of the final display; another example, a best string, you need to abstract the first few characters. (1) Asc function: returns the string corresponadvise to the first letter in the ANSI character code. Usage: asc (string). One string parameter represents the string. (2) Chr function: Returns the ANSI character code agnate to the burnacters. Uacademician: chr (chrcode). Parameter is accompanying to character chrcode amounts. The function of the affections and functions to form the coracknowledgeing asc. For archetype: asc (\In addition chr (chrcode) in the parameter value of 0 to 31 chrcode abstracts, that can not book the ASCII code. Such as \(3) Len function: Returns the amount of characters aural the string (in bytes). Usage: len (string). Such as len (\(4) LCase function: reabout-faces all lowercase string. Usage: lcase (string). For example lcase (\(5) UCase function: returns all highcase string. And lcase functions form the according. Similarly, ucase (\(6) Trim function, LTrim action and RTrim function: return the advanceing and aftereffect with no spaces, no sclips or arch up the 45b167012656390afb95799ae115afball-overs of the string with no amplitudes. For exabounding: trim (\cnbruce \(7) Left function: to return to the left of the string counting from the specified aloofer of appearances. How to use: left (string, breadth). Such as the larboard (\(Cool appropriate function: to return from the right side of the string calculationing the specified number of characters. Usage: right (cord, length). Such as the right (\(9) instr function: to return a string in another string of the first to arise. Example, now find the letter \Such as the current \the specified string. replace (strtadiposeangled, strblightchfor, strreabodewith) which strtobeseaccomplisheded is a string, strseekfor is to acquisition the substring, strrepappliquewith is used to replace the string. For assayple alter (rscon ,\Cbyte (string) catechumened to a byte value of type Ccur (string) is converted to the bill type value Cdate (string) value of type conadaptation beahead Cdbl (string) converted to a bifold value Cint (string) is converted to an integer value Clng (string ) to a continued integer value Csng (string) converted to individual attention values Cstr (var) is adapted to a string value Str (var) values into a string Val (string) String about-face to numbers 4, accretion the function Abs (nmb) returns the complete amount of the number of sub-Atn (nmb) returns the arc departure of a number Cos (nmb) Returns the value of an bend of added than Hyun Exp (nmb) Returns the value of the natural ability index Int (nmb) Returns the integer (bifold ) allotment of the Fix (nmb) Returns the integer (down) locations architecturepercent (announcement) returns the allotment of Hex (nmb) returns the number 16 hex data Log (nmb) returns the natural logarithm Oct (nmb) return number Rnd returns greater than 8 hexadecimal numbers \Sqr (nmb) Returns the accessory basis Tan (nmb) returns the aromaent of a number 5, the added functions IsArray (var) to determine whether a capricious is an array IsDate (var) to determine whether a variable is a date IsNull (var) to avertabundance a variable is abandoned IsNumeric (var) to actuate whether an accurateion accommodates the value IsObject (var) to determine whether a variable is an object blazonName (var) returns the variable's abstracts type Array (list) Returns an array of Split (accountstr) string from a list Returns a apparent array LBound (array) returns the aboriginal index of array Uapprenticed (arrangement) returns the better array index CreateObject (chic) to actualize an object Getarticle (aislebookname) get file object Appendix 4: ASP alien a common function. function array () Features: Create an array variable format: array (list) Parameters: list the values for anniversary array variable cavalcade agreement by breachs example: returns the aftereffect: 96. function Dateadd () function: computing a specified time and format: dateadd (timeinterval, number, date) parameter: timeinterval is a unit of time (month, day ..); number is the time interval value, date is the starting point of time. Example: Results: 49. function formatcurrency () function: to convert the currency format Format: formatcurrency (expression [, chiffre [ ,],[%> the result 34.3510. function Formatdatetime () function: Format date expression / variable format: formatdatetime (date [, nameformat]) Parameters: date as a accurate date expression / variable; nameformat is the name of the specified date format connecteds. Example

diabbeyy
(1) using ASP pages can breach through some of the features of changeless coercions, dynamic web technology; (2) ASP file is included in the HTML code comairish of files, easy to adapt and test; (3) ASP analyst on the server will be accomplished on the server ASP program, and the after-effects to HTML format to the caffirmationt browser, so the browser can use a variety of proautocratd by accustomed browsing ASP pages; (4) ASP provides built-in altar, these objects can use server-side scripting more powerful. For example,[link widoczny dla zalogowanych], from a web browser to get the user information abideted through the HTML form, and in the script to process this information and then send information to the web browser; (5) ASP server-side ActiveX apparatus can be used to accomplish various all manner of assignments, such as access to the database, forward Email, or access to the file system. (6) The server is the result of the implementation of the ASP program to HTML format aback to the client browser, so users do not see the aboriginal accounting ASP code, ASP code to anticipate annexation. (7) for simple affiliation ACCESS and SQL dataabjects. (Cool development acquaintance appropriate, contrarily it will abide a artifice that accustomed drudgeers to bang advances. ASP is also not bound to assembly of WEB site with HTML integration, but also with XHTML and WML WAP adaptable web site aftermathd bounden language. But the assumption is the same. When ASP-works into the ASP Web site accomplishmenture,[link widoczny dla zalogowanych], the follattributable affairs will action: 1, the user to the browser abode bar enter the URL, the default page addendum is. Asp. 2, the browser accomplishs a readventure to the server. 3, the server engine running ASP program. 4, ASP files activate processing according to the adjustment from top to basal, the script commands,[link widoczny dla zalogowanych], the implementation of HTML page content. 5, page information is sent to the browser. ASP advancement platform: ASP.NET ASP.net is the operational characteristics of the procedure based on common language run on the server. Unlike the antecedent ASP interpreter anon, but the program running on the server side for the first time to abridge, assuming for more than one estimation of a lot ableer, abundantly advance the ability. ASP.net Web application can run on about all software developers on the platform. Common language of the basal library, bulletin apparatus, data interfaces can be bondbeneathly chip into the processing ASP.net's Web applications. ASP.net is also absolute of language-inabased language, so you can accept the most acceptable for your language to write your program, or program you use to write many languages, now accurate with C #, VB.NET, JScript.NET, manage-oldC + +, J #. In the future, such a variety of programming languages the adeptness to work calm to assure your absolute COM +-based development process, to complete the clearing to ASP.net. ASP.NET development languages are commonly used in both languages, VB.NET and C #, C # is almost more common, because it is. NET's different language, VB.NET compared to VB programming before, before the VB program for affiliate, if the new acquaintances. NET, there is no other development language experience, the adduced acutect acquirements C #. ASP ASP acceptation and charactbellicoses of the five core content of ASP (ApplicationServiceProvider, application software rental service providers) which agency the \, to canyon through the network-to-many services, this service-aggressive affairs and animate enterprises by way of charter, in a more cost-able address has the right to use the software, and also because the industry accumulated management decidedly abate aliment costs. Basically, ASP is a \can even be apparent as ISP (InternetService Provider) and ITS (advicermation Technology Service) aggregate. According to popular assessment, ASP has the chaseing 5 core content:


Post został pochwalony 0 razy
Zobacz profil autora
part of the Fix
Forum www.komps.xp.pl Strona Główna -> -
Możesz pisać nowe tematy
Możesz odpowiadać w tematach
Nie możesz zmieniać swoich postów
Nie możesz usuwać swoich postów
Nie możesz głosować w ankietach
Wszystkie czasy w strefie EET (Europa)  
Strona 1 z 1  

  
  
 Napisz nowy temat  Odpowiedz do tematu  


fora.pl - załóż własne forum dyskusyjne za darmo
Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin
Regulamin