Timbs001's Posts
Nairaland Forum › Timbs001's Profile › Timbs001's Posts
1 2 3 4 5 6 7 8 ... 13 14 15 16 17 18 19 (of 19 pages)
pc guru: for now Zend Framework 1 is having a total rewrite and believe me Zend 1 is too compilcated and slow, i think for now Yii ,CakePHP, codeigniter is good but Yii is the fastest and the easiest that i know, to grasp first Zend Framework 2 is almost out which is a bit too complex esp with new patterns, try Yii if you don't like Yii or find it hard i'll send my real address for you to beat me upOK, I'll try to pick up Yii once I'm free from some projects And incase it's not as you promised, don't hesitate to send Your real address for me to..... ![]() |
@bumdish, nahThe advantages of OOP PHP are too immense to ignore it. You can't work with most PHP based CMS without understanding OOP PHP, and also Zend framework. PHP is fast becoming a full fledged Object oriented language As of PHP 5.4. To ignore it is to remain outdated And miss out the advantages and features. Never regretted learning OOP PHP. Happy PHPing @ Pc_guru, u are right, one can get acquinted with OOP PHP While working with PHP frameworks. I will recommend Zend framework or DRupal CMS those are the Ones I work with. ![]() |
@pc_guru, noted. But - didn't have intention of going into that soon anyway. Thanks for the tutorial post. Guess you know much about OOP PHP too. Looking forward to more postings from you. Happy PHPing ![]() |
TUTORIAL ONE: ADVANTAGES OF OBJECT ORIENTED PHP PROGRAMMING CODE REUSABILITY Breaking down complex tasks into generic modules makes it much easier to reuse code. Class files are normally separate from the main script, so they can be quickly deployed and reused in different projects. POLYMORPHISM Each class and object is independent, so method and property names are intrinsically associated with the class and any objects created from it. There’s no danger of naming conflicts, so methods(functions) or properties(variables) can have the same name as long as they exist in different classes. If you have two functions bearing the same name in a script written in the procedural way, it will cause a fatal error. In OOP PHP, you can have something like: <?php Class A { Public function isEmail(){ // code goes here } } Class B { Public function isEmail(){ // code goes here } } ?> There will be no error arising from the above code because each isEmail() function exist in a scope of its own, i.e encapsulated. SIMPLICITY AND READABILITY Imagine validating user form fields and all you see in the code is the following <?php // use class methods to validate individual fields $val->isInt('age'); $val->removeTags('name', 0, 0, 1); $val->checkTextLength('comments', 5, 500); $val->removeTags('comments', 0, 0, 1); $val->isEmail('email'); // validate the input and get any error messages $filtered = $val->validateInput(); $missing = $val->getMissing(); $errors = $val->getErrors(); ?> The above code is simpler and easier to read and understand as opposed to the procedural way. The details for validation and generating error messages is safely tucked away in the classes and Can be changed at anytime without affecting the implementations above in the client code. PROTECTING DATA INTEGRITY WITH ENCAPSULATION: The idea of encapsulation is to ensure that each part of an application is self-contained and doesn’t interfere with any others, except in a clearly defined manner. Each object will behave like a black box separate from even other objects of the same class and the data in them can be restricted by access level . IN TUTORIAL 2...... We will be talking about: what are classes and objects? and how to create classes and objects in PHP Later we will move on to advanced concepts such as[b] abstract classes and interfaces and also the different ways of generating objects such as Singleton pattern and the factory pattern.[/b] Feel free to ask questions Happy PHPing ![]() |
@A-Zed and Hello1212, noted. We will kick off this week. Keep checking the thread for updates. Happy PHPing ![]() |
@donciaglo and solokool, noted ![]() |
rotiler: 25821668GJ pls i really need to see the result ..... 25821668GJ pls i really need to see the result ..... 25821668GJChecked it now: No Result Yet |
Most companies nowadays hiring PHP developers are requiring knowledge of Object oriented PHP as a requisite. I have worked with many Frameworks such as PEAR, Zend Framework and also Drupal CMS and all of them are developed using object oriented Approach. Most PHP developers are still comfortable with the old procedural way of coding and are seemingly scared of the word OOP. I want us to use this medium to enlighten everyone the advantages of OOP PHP over the old procedural way and also post relevant tutorials to help pple learn. Once pple signify interest , I will also start posting tutorials also. Pls let's keep the thread Educative and dedicated to PHP ![]() |
Almost forgot that I wrote the test too. Anyway, let's pray something good comes out of it. |
Gbawe: Shout "fresh air" ten time followed by twenty halleluyahs. Your electricity will miraculously come on.LMAO |
[quote author=Flex_sexybone]*coughs* kpuhukpuhu........*sneezes* etchiemmm.[/quote] ![]() |
RIP sir |
lilodez: BREAKING NEWS. Orientation and documentation scheduled for 23rd - 28th of april. Letters would be out before then. See you good people then.BP's have been raised and lowered at this honorable forum and if one is not careful, one will be declared medically unfit by the time NSITF eventually calls us ![]() @flex , Quite agree with your line of thought, you just need to polish the way you present it ![]() @puplin, Be quiet or I will call you to order (I know who you really are )@all, What will be will be. |
@adah25, thanks for the prompt and timely update. @puplin , why do I keep thinking that you are one of the oldies that registered a new account just to play pranks on us ![]() @all, what God has started, he will finish.Amen |
Where is adah25? and Broncop? ![]() Abi una don check una names? Let's hear from you pls |
reinedamse: Hehehehehehehehe@reindamse what was the publication about? @all, no fighting please ![]() We will triumph at last IJN. Amen |
lilodez: At all i called the man again with all the questions he said and i quote. 'You are disturbing me relax by friday 25 you will hear from them'. Now i am more confused because 25th is not friday but sunday so should we expect text messages by monday? Fear no gree me call the man again. I rest my case. Broncop, danto, adah, zico and all over to youHe probably meant 23rd and not 25th since he said friday. Anyway, let's keep praying and believing and as Notfree will always say: "We will not lose". Amen |
lilodez: Letters to roll out by friday. It is well@ lilodez, is it confirmed ![]() |
@lilodez, Present ma! ![]() We no go anywhere o, we dey background dey watch as things dey unfold ![]() By his Grace, we will not be disappointed. Amen. |
Their days are over and they will pay for their gruesome deeds! |
papatosibe: They are both Ibo. . Does your comment make sense at all ![]() |
Ameeeeeeeeeeeeeeen |
@soamii55, apology accepted. You remind me so much of volla when he first came to this forum looking for brotherly companion! (@volla, no offence please ). We remain one big family. Cheers ![]() |
soamsii55: soamsii55: @soamsii55, please let's be focused in this forum, why expose your name and contact? we are here for a united purpose and God's willing we are there already. Cheers |
Home | Business | Minister to open NSITF Lagos office Minister to open NSITF Lagos office The full story, By Dupe Olaoye-Osinkolu 6 hours 11 minutes ago The Nigeria Social Insurance Trust Fund (NSITF), Lagos office will be inaugurated tomorrow by the Minister of Labour and Productivity, Chief Emeka Wogu, at its Maryland, Ikeja premises. “It is in line with bringing these benefits to deserving employees that informed the choice of a befitting corporate office with state of the art facilities and full complement of staff at Lagos to enable NSITF to bring its services nearer to employers and employees for ease of accessing. “This is just one of the many corporate offices the Board plans to open nationwide. “The goal at the end of the day is to have a central database that will allow for 24/7 claims service in all NSITF branch offices. Providing convenient employee-friendly services is our focus,” the fund said in statement. |
irom: . I know we will rejoice soon.“It is in line with bringing these benefits to deserving employees that informed the choice of a befitting corporate office with state of the art facilities and full complement of staff at Lagos to enable NSITF to bring its services nearer to employers and employees for ease of accessing." culled from thenationonline.net |
BigBenoski: ![]() |
[quote author=dotman_a link=topic=718488.msg10201576#msg10201576 date=1329313123]NL,he just ringed me now and told me there was nothing there today.May be the poster need to confirm where the office is. He told me he even saw the MD driving out and he went as far as speaking with the Secretary.Nothing happened there today.Thanks. Pls we need to be guided with our information.[/quote]@dotman_a, Thanks for the prompt response. We will surely get there! |
austushi1:I think i toe your line of thought, although GM has already been called as confirmed by Irom. @Broncop and others in this category, please help confirm, also those living in Abuja,. We will be victorious. |
almithy: volla:The latest update is on this same page nah |
onasharon: Why pee on this thread. We are here for serious business. |
.
@bumdish, nah
(I know who you really are
more and more drama
Their days are over and they will pay for their gruesome deeds!