My note

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@naythuya·
0.000 HBD
My note
Constructor function သံုးတယ့္​ခါ return သံုးလို႔မရဘူး string တစ္​ခုခု return ျပန္​ ခ်င္​ရင
__toString() ကိုသံုးျပီး return ျပန္

Setter,getter မွာ 
Setter(write) နွင့္ getter(read) က တစ္ခုပာရင္​နာက္တစ္ခု​​က ပါရမယ္​ဆို​ေပမယ္​့

Write only အလုပ္​လုပ္​တာလည္​း႐ွိသလို read only အလုပ္​လုပ္​တာလည္​း႐ွိတယ္​

at using try/catch blocks to allow the program to capture any problems without crashing 
the program. This would reduce the number of system calls (you would no longer need to 
check for the existence of the files), giving the program better performance.

Xml ကို ​ေလ့လာ​ေနပါတယ္​

Xml ဆိုတာ data ​ေတြ ကို transport လုပ္​​ေပးတယ္​ design ​ေတြကို store လုပ္​​ေပးတယ္​

Xml က w3c ကို recommend လုပ္​ထားျခင္​းျဖစ္​တယ္​ 

Xml က html နဲ႔တူတယ္​ ဒါမယ္​့ html က show data , xml က carry data

Xml က tag ​ေတြ ႀကိသတ္​မွတ္​မထားဘူး
Tree structure က

Root ​and branches to leaves

Parent က​ေန children
Chidren က​ေန sub-child အဲ့လိုသြားတယ္​

Xml က information  မသယ္​​ေပး display လုပ္​ဖို႔

Same Xml data ​ေတြကို သယ္​​ေပး မတူညီတယ္​့ presentation မွာသံုးလို႔ရ

Xml မွာ လည္​း syntax error ႐ွိ

Xml က case-sensitive ျဖစ္​တယ္​
Multille whitespace ကို ​ေ႐ွာင္​လ်ားရမယ္​
Greater than,less than etc မသံုးရ 
&lt; < lessthan
&gt; > greaterthan
&amp;&ampersand 
&apos;'apostrophe
&quot;"quotation mark

Entity reference နဲ႔သံုးရ

Attribute ​ေတြ ထည္​့တယ္​့အခါလည္​း
quote ထည္​့​ေပးပါ

Windows applications store a new line as: carriage return and line feed (CR+LF).

Unix and Mac OSX uses LF.

Old Mac systems uses CR.

XML stores a new line as LF

Xml က multple attribute မျဖစ္​ရဘူး

Xml parser လုပ္​တယ္​့ခါ

Xml Dom မွာ properties and attributes ​ေတြကို define လုပ္​တယ္​accessingတြက္​ xml ကို edit လုပ္​

Xml ကို acces မလုပ္​ခင္​ xml dom ကို ရင္​တည္​​ေဆာက္​ရမယ္​

Morden broswer ​ေတြမွာ xml parser တပ္​ဆင္​ထားတာပို႔ text ​အျဖစ္​ ​convert လုပ္​လိမ္​့မယ့္​ xml​​ Dom ထဲမွာ
👍 , , ,