Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

Developer guidelines for new Nokia Asha web apps runtime proxy server release (ِArabic)

From Wiki
Jump to: navigation, search

توفر هذه المقالة معلومات حول فئة اس 40 وكيل الملقم .

Article Metadata
By bintk
Last edited: hamishwillee (16 May 2013)

Attention, Series 40 web app developers: An updated runtime proxy rendering engine on our servers rolled out last week. The new server release has some implications for your future development efforts. This update features Mozilla's 'Gecko' browser engine and will improve the layout and JavaScript processing of the web app content. The updated engine has significant improvements in terms of performance and capabilities compared to the 'Rhino' engine it replaces. The new engine also complies strictly with the W3C standard, and offers more stability and compliance with other standards, including HTML5 and CSS3.

وهنا بعض المبادي التوجيهية لمطوري الويب أب :

  • سلسلة أس 40 ويب اب تدعم ملف هتمل واحد حتي في الأصدارات السابقة بعض الكطورين يستخدمون بعض الحلول لجعل ملفهتمل واحد يحتوي علي العديد من الملفات و لكن هذه الحلول لاتعمل مع المحرك الجديد لذلك يجب عليك ان تستخدم element.innerHTML بدلاً من element.innerText.
  • element.innerText is no longer supported. Instead, you should use element.innerHTML
document.getElementById('el').innerText="Hello World";  // not supported
document.getElementById('el').innerHTML="Hello World"; // correct way
  • mwl.timerويفضل دائما في الكود الأصلي جافا سكريب تايمر , و تنتهي في الملقم – السيرفر , ولذلك قد لاتكون مفيدة لك .

مثال :

//Do Not use. This timer will expire at server only.
setTimeout("functionName()", 3500);
//Use Instead. This timer will expire at client side
  • Use either {{{1}}} or JavaScript {{{1}}}, but not both. If mwl API needs to be called in an onload event, then 'body onload' is preferred.
  • عند إستخدام <form> tag without action attribute, {{{1}}} should be used. Use of {{{1}}}غير مسموح به إلا عندما يكون لدية سمة التعامل مع العنوان و الروابط المطلقة .

مثال :

<!-- Do Not Use -->
<form id="fid" name="fbform"> feedback<br/>
<input type="text" name="tb" id="tb"/><br/>
<input type="submit" value="Send" name="pb" id="pb" onclick="validate();"/>
<!-- Use Instead -->
<form id="fid" name="fbform"> feedback<br/>
<input type="text" name="tb" id="tb"/><br/>
<input type="button" value="Send" name="pb" id="pb" onclick="validate();"/>
This page was last modified on 16 May 2013, at 05:50.
49 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.


Thank you!

We appreciate your feedback.