Binkabir's Posts
Nairaland Forum › Binkabir's Profile › Binkabir's Posts
[quote author=omo_to_dun link=topic=708120.msg8761045#msg8761045 date=1311257921]Then prove me wrong. Show me a forum created by anyone here that did not use CMS. I know what I am talking about. This statement is akin to saying that NO ONE on nairaland has the expertise to write an Operating System or a Compiler, which is a fact. There are only a few people in the world who can! The level of expertise one needs to undertake such a feat(creating a scalable forum from scratch) is very high and few people in the world possess it. A lot of people's egos were hurt by this fact, but it is the truth. All folks can do is talk, but if we ask for proof, they show us nothing. More importantly, if you know anyone with such skills, please let me know. I'd love to be proved wrong! [/quote]if we dont try it now how can we get it. most of the inventions in the world all start we an idea. yes just an IDEA. and when we wait to get all the knowledge of world b4 we can start. that will be the craziest thing that can't be realized. |
[quote author=*dhtml link=topic=716690.msg8756336#msg8756336 date=1311191988]?php $dual=parse_ini_file("dualcore.info" ;echo $dual['name']; //this should gimme name nah? or i just do a foreach or something. . . . ?>[/quote]cool but my answer is also okey. i like that ![]() |
one can u this concept to this display copy right or logo in your apps so it difficult for little programmer like me to play around with your codes ![]() |
@dtml ar u kidding me?? on transit presently. but will give you from my codes i have this solution in my apps folder. okey seeeeeee it <?PHP $dualcoreArray = array(); $file= fopen("dualcore.info", "rb" ;while (!feof($file) ) { $line_of_text = fgets($file); $line= explode('=', $line_of_text); $dualcoreArray[$line[0]]=$line[1]; } fclose($file_handle); ?> |
dreamweaver is good for designers only as it makes you learn so many things u dont see in tutorials. |
Dual Core:what do you intend to do if we apply permanent us or freelancing ![]() |
Mobinga:interesting . is this oppression ? ![]() |
WebMonk:Kohana is among the best 20 php FW not first 10. moreove kohana and zend shares almost the same concept. [quote author=*dhtml link=topic=715478.msg8747795#msg8747795 date=1311094607]Have you heard of the frameworks they call the micro-frameworks? http://www.legendrefamily.org/blog/2009/08/php-micro-frameworks/[/quote]Yess but is not a good one when you really want to achieve rapid development in a short period of time. WebMonk:yess codeigniter is very good too. but www.Yiiframework.com is the best not only on the framework list but on the Rapid development and web 2.0 applications |
![]() [quote author=*dhtml link=topic=714568.msg8741506#msg8741506 date=1311012645]Lol. . .this one na oop amigo![/quote] |
try this chat script but i have to advice you. please please and please if you are not very good in php quietly go and learn because some things many work now and later u will jump into a serious mess when i have reach some level of popularity. http://css-tricks.com/5671-chat2/ |
in short take am <? $form= array( '#type' => 'select', '#title' => 'Display of XML feed items', '#default_value' => "teaser", '#options' => array( 'title' => 'Titles only', 'teaser' => array(user=>'Tony',pass=>'ayo'), 'fulltext' => 'Full text', ), '#description' => 'Global setting for the length of XML feed items that are output by default.', ); function ArraytoObject($array=array()){ foreach($array as $k=>$v){ if(is_array($v) && count($v)>0){ $k = strtolower($k); $array[$k]=(object)$v; } } return (object)$array; } $q = ArraytoObject($form) ; if(property_exists($q,''teaser'')){ $q->teaser->user = "binkabir'; } else throw new Exception ($e){ echo "dis one no be object see the error wey you cos ". $e; } |
[quote author=*dhtml link=topic=714568.msg8740429#msg8740429 date=1311003378]Yeeeepa! you don use sledgehammer kill mosquito! It looks like you need work to do, ok, let me give you an advanced work to do: That is a multi-level/multi-dimensional array and also ehm paired or as you say - associative. Now, i want you to write a function that can search and replace so you search for any key e.g fulltext, and replace with babes. array_replace_val('fulltext',"Babes",$form);[/quote]i dey laugh lolllllllllllllllllllllllllll? i will recursively search either using a preg_match or array_search i have somethings doing i will get back later , ![]() |
a solution that is more advanced <?php class arrayClass { public function __construct( $array = array() ) { foreach( $array as $key => $value ) { if( is_array($value) && count($value) > 0 ) $this->$key = new arrayClass( $value ); else $this->$key = $value; } } } //Usage $p = array('a'=>'apple', 'b'=>'ball', 'others'=>array('c'=>'cup','d'=>'donkey')); $newObject = new arrayClass($p); echo $newObject->a . "<br>" ; echo $newObject->others->c; ?> |
i used Zend, kohana and cakePHp but i finally ran to Yii because of so many reason which every development will love to use. Yii is really worth trying |
[quote author=*dhtml link=topic=714539.msg8739149#msg8739149 date=1310990779]I have almost finished writing the forms api. It works like the drupal form api where everything is in arrays. . . . . . I have opened the website - www.dhtmlframework.com for it - i will load it by tomorow evening - the site is still empty though.[/quote]because it's still in development stage i think you host it in SVN or CSV or gitHub so that contributor can do something meanful, putting in a website i not a good idea. ![]() |
by the way the plot is to kill mysql extension in the core php and move it to PECL repository. to me is not too too bad idea because using PDO is much more better concept of advanced programming and memory utilization than mysql extension. |
[quote author=*dhtml link=topic=714539.msg8732758#msg8732758 date=1310893811]But of course, i am opened to suggestions. I have done a lot of research, and i have studied the documentation and functionalities of so many frameworks and cmses over the years. This was not a project i started this year - i have been starting and stopping over time.[/quote]very interested i think you should open in new dhtmlframework, i will be willing to be a contributor in writing API's |
[quote author=*dhtml link=topic=714568.msg8732581#msg8732581 date=1310890494]Well, thank you for admitting that it was a good quiz. Well, i am kinda itching to start my new framework thread. But i have to upload first before i do that. The critical stuff i am adding to my framework is the form API very much similar to the drupal FORM API by 90%.[/quote]hello, drupal Form Api is cool but have a little look at that of Yii Framework ![]() its much better. |
Here is a list of top 10 php framework which are you familiar with 1 Yii 2 CodeIgniter 3 CakePHP 4 Zend 5 Symfony 6 PHPDevShell 7 Prado 9 QPHP 10 ZooP |
it saw not long when dojo started animation because i could recall that i posted a new feature request in dojo in early 2009 about animation and that is the reason i hibernated my dojo earlying curve. pc guru:it seems that in NL programming section only a few use PHP and 99% use java. ![]() |
i love Dojo too it even the first js lib that i used but i only have 1 issue with it: it doesn't have a extensive library of animations like jquery. moreover Yii FW is not hard coded with jquery, jquery is just it prefered js lib. one can use any js lib like prototype,dojo,mootools on Yii. its all about choice. |
pc guru:i agree with you about Zend FW. but i left Zend 2 years back and im using Yii now. why?? because of rapid development and yii chose jquery as it's javascript FW. in YII i can do this a db table as an Active Record Model class
what i have done in the above code is to collect a user form that is filled and insert it into a table called users i mean Yii is just crazy in OOP pls how do i make it a poll?? thanks |
pc guru:interesting Zend !!!! i'm thinking the topic should be a poll, how do i go about it?? |
Here is a list of top 10 php framework which are you familiar with 1 Yii 2 CodeIgniter 3 CakePHP 4 Zend 5 Symfony 6 PHPDevShell 7 Prado 9 QPHP 10 ZooP |
csharpjava:the only way to get these skills and develop advanced softwares like the west is by TEAM WORK. which most programmers in Nigeria dont like to do. And that is the only tool the west uses. |
tundebabzy:thanks i love that |
tundebabzy:Django is a python web framework and is very cool i have worked with it some years back (2006). but i personally prefer Yii framework from PHP http://yiiframework.com |
pc guru:i agree wit you. every body is learning everyday. if unfortunately the owner of NL is not ready to embrace this concept fine, but we programmers should form a term that can work on projects. One problem in Nigeria is that programmer always feel the know everytin and can do everytin by themselves. this is wrong and being selfish. i belong to a team of programmers where we ar 6 in number all around the world (only me is Africa, 2 in Portugal and 3 in US), and we have successfully deployed some web application remotely while been paid by number of success line of code. i wish this can work here in NL(where i bring a job and a team work on it and deploy it within a month of 2 its really high time we start making use of ourselves for good. ![]() |
Nigerians in general are funny set of people that always want to some thing a have 100% of it. i reality this is not possible. most of the World inventor just create things without any hope that it will reach the top. the inventor on electric bulb made 990 experiment to achieve that in 25 years i think ![]() without waiting for anybody to tell him IT WILL NOT WORK or PEOPLE WILL NOT BUY IT emmhhhh malikforyo:please keep up with that mind set i like that. |
that is why you need a lawyer to make it clear to the vendor if really you have to go into partnership with them first. |
;

?