My note
myanmar·@naythuya·
0.000 HBDMy 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 မသံုးရ < < lessthan > > greaterthan &&ersand ''apostrophe ""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 ထဲမွာ