Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Saturday at 10:52 PM
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Wednesday at 4:58 AM
Peppa Pig Family Plush Toy Set – 5 Characters
anil1961
Updated:
Sep 19, 2026
Ad icon
Express VPN PC - 1 Year Rs. 600.00
Sanathbh
Updated:
Sep 19, 2026
Ad icon
Capcut Pro 7 Days Team Plan - Rs. 3️⃣0️⃣0️⃣
Sanathbh
Updated:
Sep 19, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Talk!
ඔයාලගෙ Web Browser එක
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Jolly_Roger" data-source="post: 9604515" data-attributes="member: 197784"><p><span style="font-size: 15px">Firefox,Chrome,IE හෝ වෙන ඕන එකක්, කව්රුත් එළකිරි ඇවිල්ල ඉන්නෙ Web Browser එකක් පාවිච්චි කරලනේ. ඒත් දන්නවද ඒක වැඩ කරන හැටි ?</span></p><p><span style="font-size: 15px">පොඩ්ඩක් කියන්න හිතුව Web Browser එකක් වැඩ කරන හැටි. අපි ලේසියෙන්ම url එකක් ටයිප් කරල එන්ටර් එක ගහපු ගමන් හෝ ගාල සයිට් එක ලෝඩ් වෙනව වගේ ලේසි ගේම් එකක් නෙමෙයි මේක.</span></p><p><span style="font-size: 15px">මෙහෙමයි වැඩේ සිද්ධ වෙන්නෙ</span> <img src="/styles/default/xenforo/smilies/default/cool.gif" class="smilie" loading="lazy" alt=":cool:" title="Cool :cool:" data-shortname=":cool:" /></p><p></p><p><span style="font-size: 15px">1. url එක ගහල අපිට ඕන සයිට් එක කියනව. උදාහරණයක් විදියට <a href="http://www.google.com" target="_blank">www.google.com</a></span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/1.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">2.ඊට පස්සෙ Web Browser එක ඉන්ටනෙට් එක්ක සම්බන්ධ වෙනව. </span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/2.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">3.කෙලින්ම සම්බන්ධ වෙන්නෙ DNS Server එකට. DNS Server එකෙන් කරන්නෙ address resolution කරන එක. අපි ඉල්ලපු url එකට අදාල IP address එක තියන තැන පෙන්වන එක තමයි DNS Server එක කරන්නෙ. කෙටියෙන් කිව්වොත් බ්රව්සර් එකට මග පෙන්වීම.</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/3.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">4.දැන් අපේ බ්රව්සර් එක සයිට් එක හොයාගෙන එක එක networks හරහා යනව DNS Server එකෙන් කියපු විදියට.</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/4.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">5.ඔන්න දැන් DNS Server එකෙන් කියපු පොට් එකට ආව. මේක Hosting Server එකක්. මේ server එකේ තමයි අදාල IP address තියෙන්නෙ.</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/5.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">6.දැන් බ්රව්සර් එක අදාල සයිට් එක එක්ක communicate කරනව.</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/6.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">7. ආයෙත් අපි හොයාගෙන එනව.</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/7.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">8.වැඩේ හරි. ඔන්න මම හොයන් ආව කියල අපිට සයිට් එකේ තියන දේ පෙන්නව.</span></p><p><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/8.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p></p><p><span style="font-size: 15px">හරිම සරලයි නේද ? <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></span></p><p><span style="font-size: 15px">ඒත් ඇත්තටම එහෙම සරල නැහැ. <img src="/styles/default/xenforo/smilies/default/no.gif" class="smilie" loading="lazy" alt=":no:" title="No :no:" data-shortname=":no:" /><img src="/styles/default/xenforo/smilies/default/no.gif" class="smilie" loading="lazy" alt=":no:" title="No :no:" data-shortname=":no:" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">තව ටිකක් ගැඹුරින් කිව්වොත් මෙහෙම දෙයකුත් වෙනව. මෙන්න මේ විදියට තමයි ඇත්තටම Web Browser එකක් වැඩ කරන්නෙ.</span></p><p><span style="font-size: 15px">Web Browser එකක මූළිකම කාර්ය තමයි Web Page එකක් දර්ශනය කරන එක(fetch and display a web-page). Rendering Process කියලත් කියනව.</span></p><p><span style="font-size: 15px">මේක කරන්න ප්රධාන පියවර කීපයක් තියනව. </span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">Rendering Process</span></p><p><span style="font-size: 15px"><img src="http://i1228.photobucket.com/albums/ee459/blackrubybarb/Elakiri/Gecko_Overview_9.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Load the HTML</span></p><p><span style="font-size: 15px">වෙබ් අඩවිය ගබඩා කර ඇති තැනින්(Server) දත්ත ලබා ගැනීම. සාමාන්යෙන් HTTP කියන Protocol එක හරහා තමයි දත්ත ලබාගන්නෙ. මේ ක්රමයට කියන්නෙ client-server architecture එක කියල. මෙතනදි client විදියට අපි වෙනුවෙන් ක්රියාකරන්නෙ Web Browser එක.</span></p><p><span style="font-size: 15px"><img src="http://www.leisurenight.com/wp-content/uploads/client-server-model-architecture-design-diagram.gif" alt="" class="fr-fic fr-dii fr-draggable " style="" /></span></p><p><span style="font-size: 15px"><em><span style="font-size: 10px">client-server architecture</span></em></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Parse it</span></p><p><span style="font-size: 15px">parse කරනව කියන්නෙ ලබාගත්ත HTML elements ටික හරි පිලිවෙලකට හදාගන්න එකට.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Apply styles</span></p><p><span style="font-size: 15px">ඕනම වෙබ් පිටුවක තියනවනේ ඒක ඩිසයින් කරද්දි පාවිච්චි කරපු ස්ටයිල් එකක්. ඒ ස්ටයිල් එක වෙබ් පිටුවල අවශ්ය තැන් වලට යොදන එක තමයි මෙතනදි වෙන්නෙ. අමතර style sheets(CSS files) එහෙම තියනම් ඒවත් මේ සඳහා යොදාගන්නව.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Build frames</span></p><p><span style="font-size: 15px">දැන් තමයි නියමාකාරයෙන් වෙබ් පිටුව ගොඩනංවන්නෙ. height, width, border, spacing, padding, margin, position වගේ ඒව ඔක්කොම apply කරනව මේ පියවරේදි.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Layout the frames (flow)</span></p><p><span style="font-size: 15px">මෙතනදි තමයි වෙබ් පිටුවෙ flow එක හදාගන්නෙ. ඒ කියන්නෙ elements නියමිත තැන්වලට place කරනව.</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"> * Paint the frames</span></p><p><span style="font-size: 15px">අවසානයේ අපිට වෙබ් පිටුව ලස්සනට පෙන්නන එක. <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /><img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /></span></p><p><span style="font-size: 15px">(තේරුනාද මන්ද <img src="/styles/default/xenforo/smilies/default/dull.gif" class="smilie" loading="lazy" alt=":dull:" title="Dull :dull:" data-shortname=":dull:" />)</span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px">කොහොමද වැඩේ....... ආතල් එකේ වාඩිවෙලා එලකිරි ආවට ලේසි නෑ නේ බ්රව්සර් එක දෙන ගේම <img src="/styles/default/xenforo/smilies/default/P.gif" class="smilie" loading="lazy" alt=":P" title=":P :P" data-shortname=":P" /></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p><p><span style="font-size: 15px"></span></p></blockquote><p></p>
[QUOTE="Jolly_Roger, post: 9604515, member: 197784"] [SIZE=4]Firefox,Chrome,IE හෝ වෙන ඕන එකක්, කව්රුත් එළකිරි ඇවිල්ල ඉන්නෙ Web Browser එකක් පාවිච්චි කරලනේ. ඒත් දන්නවද ඒක වැඩ කරන හැටි ? පොඩ්ඩක් කියන්න හිතුව Web Browser එකක් වැඩ කරන හැටි. අපි ලේසියෙන්ම url එකක් ටයිප් කරල එන්ටර් එක ගහපු ගමන් හෝ ගාල සයිට් එක ලෝඩ් වෙනව වගේ ලේසි ගේම් එකක් නෙමෙයි මේක.[/SIZE] [SIZE=4]මෙහෙමයි වැඩේ සිද්ධ වෙන්නෙ[/SIZE] :cool: [SIZE=4]1. url එක ගහල අපිට ඕන සයිට් එක කියනව. උදාහරණයක් විදියට [URL="http://www.google.com"]www.google.com[/URL] [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/1.png[/IMG] 2.ඊට පස්සෙ Web Browser එක ඉන්ටනෙට් එක්ක සම්බන්ධ වෙනව. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/2.png[/IMG] 3.කෙලින්ම සම්බන්ධ වෙන්නෙ DNS Server එකට. DNS Server එකෙන් කරන්නෙ address resolution කරන එක. අපි ඉල්ලපු url එකට අදාල IP address එක තියන තැන පෙන්වන එක තමයි DNS Server එක කරන්නෙ. කෙටියෙන් කිව්වොත් බ්රව්සර් එකට මග පෙන්වීම. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/3.png[/IMG] 4.දැන් අපේ බ්රව්සර් එක සයිට් එක හොයාගෙන එක එක networks හරහා යනව DNS Server එකෙන් කියපු විදියට. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/4.png[/IMG] 5.ඔන්න දැන් DNS Server එකෙන් කියපු පොට් එකට ආව. මේක Hosting Server එකක්. මේ server එකේ තමයි අදාල IP address තියෙන්නෙ. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/5.png[/IMG] 6.දැන් බ්රව්සර් එක අදාල සයිට් එක එක්ක communicate කරනව. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/6.png[/IMG] 7. ආයෙත් අපි හොයාගෙන එනව. [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/7.png[/IMG] 8.වැඩේ හරි. ඔන්න මම හොයන් ආව කියල අපිට සයිට් එකේ තියන දේ පෙන්නව.[/SIZE] [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/8.png[/IMG] [SIZE=4]හරිම සරලයි නේද ? :D ඒත් ඇත්තටම එහෙම සරල නැහැ. :no::no: තව ටිකක් ගැඹුරින් කිව්වොත් මෙහෙම දෙයකුත් වෙනව. මෙන්න මේ විදියට තමයි ඇත්තටම Web Browser එකක් වැඩ කරන්නෙ. Web Browser එකක මූළිකම කාර්ය තමයි Web Page එකක් දර්ශනය කරන එක(fetch and display a web-page). Rendering Process කියලත් කියනව. මේක කරන්න ප්රධාන පියවර කීපයක් තියනව. Rendering Process [IMG]http://i1228.photobucket.com/albums/ee459/blackrubybarb/Elakiri/Gecko_Overview_9.png[/IMG] * Load the HTML වෙබ් අඩවිය ගබඩා කර ඇති තැනින්(Server) දත්ත ලබා ගැනීම. සාමාන්යෙන් HTTP කියන Protocol එක හරහා තමයි දත්ත ලබාගන්නෙ. මේ ක්රමයට කියන්නෙ client-server architecture එක කියල. මෙතනදි client විදියට අපි වෙනුවෙන් ක්රියාකරන්නෙ Web Browser එක. [IMG]http://www.leisurenight.com/wp-content/uploads/client-server-model-architecture-design-diagram.gif[/IMG] [I][SIZE=2]client-server architecture[/SIZE][/I] * Parse it parse කරනව කියන්නෙ ලබාගත්ත HTML elements ටික හරි පිලිවෙලකට හදාගන්න එකට. * Apply styles ඕනම වෙබ් පිටුවක තියනවනේ ඒක ඩිසයින් කරද්දි පාවිච්චි කරපු ස්ටයිල් එකක්. ඒ ස්ටයිල් එක වෙබ් පිටුවල අවශ්ය තැන් වලට යොදන එක තමයි මෙතනදි වෙන්නෙ. අමතර style sheets(CSS files) එහෙම තියනම් ඒවත් මේ සඳහා යොදාගන්නව. * Build frames දැන් තමයි නියමාකාරයෙන් වෙබ් පිටුව ගොඩනංවන්නෙ. height, width, border, spacing, padding, margin, position වගේ ඒව ඔක්කොම apply කරනව මේ පියවරේදි. * Layout the frames (flow) මෙතනදි තමයි වෙබ් පිටුවෙ flow එක හදාගන්නෙ. ඒ කියන්නෙ elements නියමිත තැන්වලට place කරනව. * Paint the frames අවසානයේ අපිට වෙබ් පිටුව ලස්සනට පෙන්නන එක. :D:D (තේරුනාද මන්ද :dull:) කොහොමද වැඩේ....... ආතල් එකේ වාඩිවෙලා එලකිරි ආවට ලේසි නෑ නේ බ්රව්සර් එක දෙන ගේම :P [/SIZE] [/QUOTE]
Insert quotes…
Verification
Hata thunen beduwama keeyada? (60 bedeema thuna)
Post reply
Top
Bottom