Sports › Re: Odion Ighalo Wins October’s English Premier League African Player Of The Month by jidez007: 1:19pm On Nov 07, 2015 |
|
Programming › Re: Nigerias First Major Social Network by jidez007: 6:30pm On Nov 04, 2015 |
Fimbosky01: WELCOME TO MICLICKS.COM
When last did you h I have seen it. it's nice and innovative. Have you seen https://schoolnetwork.io? it was definitely designed by a Nairalander |
Programming › Re: PHP Programmers:Name Your Best HMVC Framework by jidez007: 11:05pm On Oct 27, 2015 |
RockMaxi: Please I'm terrible with this programming thing but I've been getting along. I have tried Zend, those guys are like aliens to me, though I have not really gone deeper. Tried CakePHP, relatively simple but still not it for me. Recently I stumbled over Kohana and men it's like the real cake but one thing I found out is that all this framework have their own good and bad sides. I have gone far with Kohana but I'm scared about their documentation. You really need a guru to explain some things. So you gurus in the house which mvc framework will you suggest for a terrible developer like me. 
oh boy go try Laravel. its my first framework and I have never had a reason to learn another one. There is website dedicated to providing video tutorials for it, www.laracasts.com |
Programming › Re: I Created A Social Chat App For Android Users by jidez007: 2:01pm On Sep 26, 2015 |
markjohn04: Yeah the API is open source. But more than telegram shaa and i have already mentioned it on the app description page. Thanks though. Critics is welcomed. Ok if you read their licence https://github.com/DrKLO/Telegram/blob/master/LICENSE well, you should know, any app built with telegram should be open source as well and be on github. |
Programming › Re: I Created A Social Chat App For Android Users by jidez007: 1:28pm On Sep 26, 2015 |
|
Programming › Re: Laravel:call To Undefined Method Illuminate\database\eloquent\collection::save() by jidez007: 4:53pm On Sep 13, 2015 |
dplumptre:
$accounts = Account::where('gender','=','male');
$accounts->each(function($account) { $account->name ="Ademola Plumptre"; $account->save(); });
The code above works by @jacob05 but you can also do it this way below , there are different ways really, its always good to just pick the one , you
are comfortable with.
$accounts = Account::where('gender','=','male')->get(); foreach($accounts as $account){ $account->name ="Ademola Plumptre"; $account->save(); }
Its good to know we have laravel peeps in the house I will try to keep the post coming and hopefully we will all learn a thing or two from ideas we
share together .
if you want to see more stuffs visit my blog http://overallheuristic.com/blog/
site : http://overallheuristic.com twitter : @dplumptre fb :https://www.facebook.com/ you guys wan kill una database abi. Imagine having 10,000 results from that collection. The total queries that will be executed from the database will be 10,0001. Because you are looping through and updating one by one. you should rather do Account::where('gender','=','male')->update(['name' => "Ademola Plumptre"]); just 1 query. |
Programming › Re: Populating Select Menu From Model In User Registration Form In Laravel by jidez007: 5:46pm On Aug 28, 2015 |
maekhel: This worked but I didn't know could do such in Laravel 5. You are welcome |
Programming › Re: Populating Select Menu From Model In User Registration Form In Laravel by jidez007: 4:31pm On Aug 28, 2015 |
maekhel: Actually, I want to customize my users registration form and am using Laravel default auth controller and there is no option to pass data to the register view. yeah from your AuthController notice laravel is using AuthenticatesAndRegistersUsers trait. you can just override the getRegister method in the Controller. So you will add this method in your AuthController to override the default. public function getRegister() { $data = [ 'schools' => School::all(); ];
return view('auth.register', $data); }
Also get in the habit of looking at some methods in the source codes sometimes, It really helps. |
Programming › Re: Populating Select Menu From Model In User Registration Form In Laravel by jidez007: 4:15pm On Aug 28, 2015 |
You would probably get all the data in your controller, then pass it to your view. eg. return view('signup')->with('schools', School::all()); Then in your view, just loop through and display it. eg <select name="school"> @foreach($schools as $school) <option value="{{ $school->id }}">{{ $school->name }}</option> @endforeach </select>
|
Programming › Re: Laravel:call To Undefined Method Illuminate\database\eloquent\collection::save() by jidez007: 4:01pm On Aug 28, 2015 |
OK no problem. But can you please change that $user->save() to $account->save().
You can also do this Account::find(10)->update(['name' => 'new name']); but don't forget the mass assignment settings in the model. |
Webmasters › Re: Webmasters I Need Your Answer, Can I Have My Website In Many Languages? by jidez007: 5:05pm On Aug 04, 2015 |
|
|
Webmasters › Re: CBT/E-EXAM Web Apps For School And Colleges by jidez007: 3:13pm On Feb 07, 2015 |
hmmm nice one. I have built a similar one and it is still under development. check http://cbt.djade.net |
Webmasters › Re: Kindly Review My Website With Constructive Critisim.... by jidez007: 7:10am On Dec 31, 2014 |
why use one page design? what if you want to add more content to it later, then you keep appending the single page and the user keeps scrolling down to see the content they want. later it will just get disorganised with too much content. Another reason that it's bad is because of seo, it's means you only get one shot seo which is only your home page. |
Webmasters › Re: Complete Tutorials On Designing A Wapka.m0bi Site.(codes/scripts Etc) by jidez007: 8:10pm On Nov 22, 2014 |
pelij: Man weda you believe or not wapka is just a pure example using notepad with a solid host that hardly goes down.
Take a look at the pc site at my signature, and you will really believe what i said I wonder y pple lk restricting themselves. I also started wit wapka but I wasn't contented I went 2 html & css, then drupal & wordpress nd I was still not contented dint even bother wit joomla den I went 2 php, js nd more frameworks. I av now been recruited by a tech company here in nigeria, am schooling nd I work a part-time job. I now collect salary 4 somtin I luv doing. I wonder if I stuck wit wapka or wordpress I wuld av dat opportunity. I wuld say thank u 2 yawatide nd others who av inspired me 2 b on ds path. |
Programming › Re: Why Waste 4 Years On Computer Science In University? by jidez007: 7:20pm On Nov 22, 2014 |
So ds thread still dey alive... I tink its one d reasons I chose 2 study electElect instead of cs. |
Webmasters › Re: Weird World Of A Webmaster by jidez007: 6:46pm On Nov 13, 2014 |
Wapka na shit, learning it wuld av been a waste of tym.
I don't why u will be arguing wit real web developers even wen wapka was built wit a programming language probably php.
I will go wit dhtml dat u guyz shuld av a separate board wapkamasters.
Java nd d popular ruby on rails on my mind. |
Tech Jobs › Re: Needed! Clever Web Application Programmer Willing To Work For Food by jidez007: 5:39pm On Nov 11, 2014 |
sigoje: Kind of joking about the food
Looking for collaboration on a small self sponsored project, that you may find interesting
Let's chat on Skype internetoflife@outlook.com or drop me an email gojesamaila@internetofllife.net Ur email bounced back. u can luk @ my former works @ www.djade.net |
Webmasters › Re: Website Review [design] by jidez007: 11:20pm On Nov 05, 2014 |
The design is good actually |
Webmasters › Re: Why Are Images Not Displaying On My Website Through Cpanel? by jidez007: 10:10pm On Oct 24, 2014 |
D images r not showing probably bcause u dint gv it d necessary permissions. Check d permissions change it to 644. |
Webmasters › Re: Please Recommend Me A Reliable VPS (virtual Private Server) by jidez007: 10:41pm On Oct 23, 2014 |
|
Programming › Re: Programmers In Ilorin!!!! Help A Newbie by jidez007: 7:36am On Oct 20, 2014 |
INeedHelpAsap: goodday, I just got some books and the offline version of w3schools but the problem is running my PHP codes, been trying to download xampp but the ISPs are really messing up,my downloads aren't always completed.....
I kindly need someone who can help me with the xampp software (and probably any.other "programming related" files)..
I school at unilorin tho 73F09FB3 I go enter skul 2day. U fit call me 08096646699 |
Programming › Re: Introduction To Angularjs by jidez007: 11:41pm On Oct 17, 2014 |
Donlynus: you did a very nice job there. am currently working on a project with angularjs, pls i will love to find out one or two things from you Tnx... Wats ur project abt? nd aw do u wnt me 2 help? |
Programming › Re: Introduction To Angularjs by jidez007: 7:44pm On Oct 17, 2014 |
|
Webmasters › Re: Your Opinion On This Website by jidez007(op): 8:49am On Oct 13, 2014 |
Although am having a rethink on d whole single page app thing. It only works well on cutting edge browsers. Mayb I shuld go bck 2 d normal jquery version nd offer d web app as an option. |
Webmasters › Re: Your Opinion On This Website by jidez007(op): 8:38am On Oct 13, 2014*. Modified: 9:02am On Oct 13, 2014 |
sisqology: Looks like you have not finished designing the landing page? Still pretty empty! I hope u r not using mobile operamini, if not try reloading d page.
|
Webmasters › Re: Your Opinion On This Website by jidez007(op): 2:26pm On Oct 10, 2014 |
50 views, no comment. E b lk say na romance section I 4 don post ds tin. |
Webmasters › Re: Seeking Help by jidez007: 8:05pm On Oct 09, 2014 |
lumet: Rilly? Its advantages ova notepad pls. Find out urself by installing it. |
Webmasters › Re: Seeking Help by jidez007: 7:06pm On Oct 09, 2014 |
The day I download sublime text I deleted notepad++. Use sublime text. |
Webmasters › Re: Your Opinion On This Website by jidez007(op): 7:04pm On Oct 09, 2014 |
|
Webmasters › Your Opinion On This Website by jidez007(op): 12:41pm On Oct 09, 2014 |
Help me review my latest web project. [url]demo.djade.net[/url] The admin page is [url]demo.djade.net/admin[/url] use admin as the username & password N.B: Due to security reasons u cant create, edit or delete anytin from the backend. u can only view and filter through. Its a single page ecommerce website/app with Angularjs. So after the first page load, every other communication with the web server will be in JSON format. This makes the website very fast. Major tools i used are, an html theme from ThemeforestLaravelAngularjs - User Front end Knockoutjs - Admin Back end Because the website is heavily depended on javascript it wont work on mobile operamini. Use any other browser on android, the phone browser on bb. |
Programming › Re: How Do I Create An API For A Website Or Blog In JSON Format. by jidez007: 7:06pm On Oct 01, 2014 |
phatjoe50: Thanks guys I have eventually solved the issue, which was just a case of ignorance from me.
I was developing an API for a website and I forgot that every section of a website or blog has a corresponding link or url, which I neglected when developing my API.
Being so naughty I was calling the url which I didn't create in the API from my JAVA with the getString() method passing my url as the key like this getString("url" . Absolutely nothing wrong with this only that I didn't create it in my API, LOL. It was after series of debugging today that I got to see the mistake.
My JSON output now look like this.
[code]
Before the JSON was without the "url" JSONObject.
Thanks for the help. Really Appreciate. Becareful so u won't expose a user's password |