Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,869 members, 7,817,566 topics. Date: Saturday, 04 May 2024 at 02:31 PM

Godofbrowser's Posts

Nairaland Forum / Godofbrowser's Profile / Godofbrowser's Posts

(1) (2) (3) (of 3 pages)

Programming / Re: Gdevit.com Finally Completed Guys!! by godofbrowser(m): 11:45pm On Jan 16, 2019
Domain now for sale [/color][color=#000000]
Business / Re: Paystack - What Did Others Do Wrong? by godofbrowser(m): 12:38am On Sep 29, 2017
pcguru1:


It is not horrible you have already concluded without even testing or using it, if you want to have an idea it's on Github account called Techquest, it even has a screenshot and companies use it, so might be better to have proof before making such claim, I worked with the team on WebPay and yes it's not as bad as it was before, most merchant still use the old one, a lot of you haven't seen the new one that's why. But PayStack UX is good though I give it to them

Webpay updated their UI after paystack started making waves. What message does that pass across? That they were misbehaving on purpose because there was no competition. Well, if they like let them hire 50,000 frontend engineers, they are gone from my list for good.

TSTV is about to do the same to dstv.
Programming / Re: Vuejs Confirm Dialog Plugin by godofbrowser(m): 9:58pm On Sep 14, 2017
ANTONINEUTRON:
It Is No Fun (For Me) Using Js Libraries


The One I Tried (Jquery) I Got Stuck And Couldn't Find A Solution
Since Then Pure Js Is Better

I do not agree that vanilla js is easier to use. It's like saying walking on foot is better than a Lamborghini.

Imagine you doing:

var node = document.getElementByClassname( "my-class" )


And

var node = $( ".my-class" )


Another thing you should also note is browser compatibility issues. Js Libraries handles them out of the box.

So you worry about how to solve a problem and cross-browser compatibility.


What am I saying in essence? Libraries are good. Even if you choose to code raw, you'll one day need to build your own libraries to speed up future projects. This is the primary reason why we have them.
Programming / Re: Select All Rows Where The Sum Of Column Equals A Value by godofbrowser(m): 9:42pm On Sep 05, 2017
BobAxelrod:
yes, do you know how I can achieve that
It's obvious this cannot be achieved using an sql query. You should try a dynamic programming.
Programming / Re: Select All Rows Where The Sum Of Column Equals A Value by godofbrowser(m): 9:40pm On Sep 05, 2017
It's obvious this cannot be achieved using an sql query. You should try a dynamic programming.

1 Like 1 Share

Programming / Re: Vuejs Confirm Dialog Plugin by godofbrowser(m): 8:06pm On Sep 05, 2017
BobAxelrod:
good work bro

Thanks man. I hope you find it useful someday.
Programming / Re: Vuejs Confirm Dialog Plugin by godofbrowser(m): 5:32pm On Sep 05, 2017
Dekatron:
Being the backend developer I am, I was writing my front end with Reactjs.. has a crazy learning curve plus too much choices (redux, mobx and shii. Fu!ck you, JS cry cry cry )... DECIDED to use Vuejs.... way simpler and unidirectional and all....

Nice one man!! Checking out the repo

Yeah, vuejs is much more simpler, easy to setup and gives you so much flexibility.

If you find the plugin useful, you may consider starring the repo and sharing with your friends who also use vuejs.

It's not only convenient to use, it can also serve as a kickstarter for you should you see the need to build something more personalised.

Thanks.

Programming / Vuejs Confirm Dialog Plugin by godofbrowser(m): 3:30am On Sep 04, 2017
Hello geeks.

Do you make use of vue for your frontend development?

If yes, then you'll agree with me that it can be time consuming building a confirmation dialog that would be easily reused in any part of the project without doing too many copy and paste.

For this reason, we sometimes feel it's faster going with the default
window.confirm() 
method.

But then, if that call was easy enough, then you'll love this new vuejs confirm plugin.
Just do this anywhere within your project.
this.$dialog.confirm("Delete this item?" )


Github repo: https://github.com/godofbrowser/vuejs-dialog
Link to demo: https://godofbrowser.github.io/vuejs-dialog/

What's more interesting? It's lightweight. Not up to 30kb minified.
So save yourself the stress and still get a nice dialog with a reasonable UI, animation, and lots of options to tweak the plugin to your taste.

Also feel free to contribute and make it better.

1 Like

Programming / Re: Best Way To Separate HTML And PHP? by godofbrowser(m): 12:10am On Jun 14, 2017
NerdyFullo:


Sorry, I'll try to update the question and be as clear as possible.

Some examples here:

$username = "Welcome to my world"; (php)
<div>{HOW TO DISPLAY HERE $username? without using <? ?> if possible}*</div>(html)

// Maybe something like this

<div> {{ username }} </div> (I hope you could understand me)




No, my question is near to "How can I separate processing from output". {I hope I'm making sense here}

to achieve this separation with ease, just go learn a frontend javascript framework like vuejs. Your expected php output can be passed to components via props. In fact, vuejs when combined with laravel and webpack/gulp will make you achieve even more,
Programming / Re: Cost Of Building An App With More Features Than Uber by godofbrowser(m): 9:50pm On Jan 04, 2017
Programming / Re: Build A Video Converting Site/ FB Autoliker Site by godofbrowser(m): 1:11pm On Dec 25, 2016
gentlekeny:
Helo Gurus,

i wanna find out if anyone can build a Converter website (converting Videos MP4-MP3-3gp). e.g. clipconverter.cc

Also, if anyone can build A facebook Autoliker website e.g. Royaliker.net

Hit me up with what the cost. (A friend of mine needs it)

File manipulations (audio, video, image), contact me via 07065957074 and i'll give you our official email address so you get other info such as pricing relative to your project needs.
Programming / Re: Select All Rows Where The Sum Of Column Equals A Value by godofbrowser(m): 12:42pm On Dec 25, 2016
BobAxelrod:
I have a simple table:

col1 col2
1 2
2 3
3 7
4 1
5 9


I want to select random rows of (col1) where the cumulative sum of column (col2) equals a value

example:
select all random rows of col1 where the sum of col2 equals 17
returning: col1: 3, 4 and 5


Any ideas?

@dhtml and everyone

Oh! if i get you clearly, you need rows where after summing their col2 values you get 17?

Example: col2: 7+9+1 = 17 hence you get rows 3,4, and 5 ?
Programming / Re: A Little Javascript Problem by godofbrowser(m): 12:12pm On Dec 25, 2016
Kodejuice:
Found this online, and it looks so impossible but its very much possible......so if you think youre a JavaScript Baddass/Ninja or wareva, here's the chance to prove urself right.


In fact, this isn't about JavaScript, but that's the context I've discussed it in. I encourage you to think about it in more programming languages. (are there languages in which this can't be done?)

The problem: define functions range, map, reverse and foreach, obeying the restrictions below, such that the following program works properly. It prints the squares of numbers from 1 to 10, in reverse order.

var numbers = range(1, 10);
numbers = map(numbers, function (n) { return n * n });
numbers = reverse(numbers);
foreach(numbers, console.log);

/* output:

100
81
64
49
36
25
16
9
4
1
*/

Restrictions

You must not use arrays. The square bracket characters, [ and ], are forbidden, as well as new Array.

You must not use objects. The curly braces, { and }, and the dot character (.) are forbidden. You may use curly braces for code blocks, but not for creating JavaScript objects.

Should go without saying, these functions must be generic and do what their name implies. They must not be hard-coded for the particular 1..10 example.

Feel free to define utilities; you don't have to restrict your program to these 4 functions. It does not matter how fast, small or elegant it is — if you can do it within the limitations above, I think you're an above-average programmer.


var range = Array.from(Array(11).keys());

Array.shift(range);
var numbers = Array.reverse(Array.map(range, function(value){
return value * value;
}));

Array.forEach(numbers, logNumbers);

function logNumbers(v){
console.log(v);
}


Does this fit into your desired solution?

Note: i have tried to avoid using a "new Array" or the square brackets "[]" array declaration. I have also tried not to use the "numbers" var as an object which i know it is (everything in js is an object).
Programming / Re: Frameworks Dont Make Sense by godofbrowser(m): 11:25pm On Dec 21, 2016
I have coded RAW and with FRAMEWORKS, frameworks have way too many advantages compare to it's disadvantages.

Truth is - you only enjoy frameworks when you understand how it was built.

Instead of building my own framework, i'll rather pick one framework then tear it into pieces, hide it's traces (this is like building urs too as that's what most people who claim to have built a framework do), then build extensions/packages for it.

This way, i have saved time and i still maintain standard codes, proper directory structure and good naming conventions (so i don't start calling something "manager" instead of "controller"). Besides, there are frameworks that puts you in complete control, you only require certain dependencies when you need them. It also makes it easier to work as a team ( a fellow team member knows where to find routes and middlewares and need not ask too many questions).

Finally, the proper way to learn should be to learn the language, then pick a framework if need be.

3 Likes

Programming / Re: How To Create Multiple User Authentication In Laravel 5.3 by godofbrowser(m): 9:21am On Dec 08, 2016
mohemos:
Laravel 5.3 gurus, please help me as am new to Laravel framework.
Now I have a system am building, the system has 4 different types of users e.g

*Student Login

*Lecturer Login

*Admin Login

*Counsellor Login

each of them has their different tables in the database.

Laravel comes with just a single user authentication using the users table.

please how can I go about this ?
Thanks in advance!

Hi, i think if your users are having different tables, its a poor design.
Cos you'll most likely have two users with same identifier at some point unless you're doing some ugly checks.
This should have been accomplished using Eloquent relationships instead.
I don't know what you're trying to avoid, maybe you want to collect different types of data from the different types of users.
for example; you may want to store "job title" for lecturers and "department" for students. In this case you can have additional tables like "lecturers_data" and have it linked with lecturers, and another like "students_data" like that, such that you can fetch data from them using their foreign keys.

I think this is a better approach. Every other thing you need can be done with middlewares.
Goodluck!
Programming / Re: The Service Of A Php/laravel Or Code Ignite Programmer Needed Urgently by godofbrowser(m): 8:56am On Dec 08, 2016
ReviewByPaul:
Hello Nairalanders, I need the Service of a very experienced PHP programmer to handle a web application project urgently. Suitable candidate should send a short profile of himself and links to not less than 5 related projects he/she has handled recently to: reviewbypaul@gmail.com. The most professional candidate will get the contract to develop our new web portal instantly. For more details, call Paul on: 07036201650.

Do you need me to suggest a web development company to you? with almost 80% of projects done with laravel
Webmasters / Re: Please, Someone Should Suggest A Good Webdevelopment Company Or Individualto Me. by godofbrowser(m): 12:46am On Nov 23, 2016
ChelseaDotCom:


I sent you a mail but you are yet to reply it. Pls, reply asap. Thank you.

Alright, you'll be responded to asap.
Webmasters / Re: Please, Someone Should Suggest A Good Webdevelopment Company Or Individualto Me. by godofbrowser(m): 1:06pm On Nov 21, 2016
ChelseaDotCom:



I went through your work and it's good. Please, post your contact.

[email]build@codulab.com[/email]
Programming / Re: How Can I Build A Twitter like @mention System In PHP? by godofbrowser(m): 11:29am On Nov 20, 2016
FincoApps:
op, I prefer Facebook or Nairaland way of mentioning ie Without visually seeing the '@' symbol. This is because naturally, I really dislike it when people write stuff like "@dhtml I need your help". When if you are actually speaking, you won't be like "at dhtml I need your help".

So the way I would implement this is,

When commenting, to mention a user, simply use a predefined symbol like @ or ^, and when the app detects this symbol, just like Facebook, it brings up a list of people you could mention.... Now when the user selects one of them, an additional parameter is added to the post request that would be submitted so the post request looks something like:

var mentions = [];
var user = {};
user["userid"] = userid;
user["name"] = username;
mentions.push(user) ;

Send that as an extra parameter with the original post request, and on the server, loop through the mentions array and send a notification to each of the mentioned users....

This way, you don't need to see the stupid @ symbol and also this way, you can mention users with maybe the nickname you call them in real life eg (Fincoooooooo, how u dey), but I'll still get the notification.

After pushing and in situations where i use the backspace key to clear the mention, is there a way to remove already pushed data from the array? you may want to consider this in the design.

I personally will go with the @ for now(API though) until a better approach is discovered. Then spice it up with a UI framework like vue.js, mithril.js or even jQuery... i don't see any security threat in this for now, so long your serverside is equally validating requests and you're also doing TOKEN verification.
Webmasters / Re: Partners Needed For E-commerce Web Development! by godofbrowser(m): 11:17am On Nov 20, 2016
saliubello:
Still open

I can introduce you to the prodster's community where you get programmers who are willing to assist you with your project/ co-found the business.
Webmasters / Re: Please, Someone Should Suggest A Good Webdevelopment Company Or Individualto Me. by godofbrowser(m): 10:18am On Nov 20, 2016
ChelseaDotCom:
Hello guys, I want to develop a website where services could be render for my customers online and customers too pay for their services online too. My challenge is finding a developer who can truly do what her/she says he/she can do. Please, who can suggest an organization or an individual to me? Thank you.

www.codulab.com
Programming / Re: Help Me To Solve This Programming Problem by godofbrowser(m): 1:42am On Nov 03, 2016
Hello, are you trying to install an open source forum? If yes, which of them?
Webmasters / Learn How To Build An E-commerce Web Application. by godofbrowser(m): 1:14pm On Oct 30, 2016
Hello guys!
Today we'll be looking at creating an e-commerce web application with laravel.
We will be working with the latest vesion of laravel which is 5.3 as at the time this post was created.

Assumptions: during the course of this tutorial, i'll assume the following

You have a local server up and running ( eg: xamp, wammp, laragon, etc ). if not, then learn how to set up one here before proceeding as it's required.
You have basic html and css skill
You have basic knowledge of Object Oriented PHP
You know at least the basics of jquery ( but it's fine if you don't )
You have knowledge of twitter bootstrap(optional)

So lets start by creating a laravel project. In this case, i've named our project "codeclass-shop".

You can follow the complete tutorial series here http://discuss.codeclass.com.ng/d/45-building-an-e-commerce-web-app-with-laravel-part-1
Software/Programmer Market / Re: Programmer You Are Needed by godofbrowser(m): 12:29am On Oct 21, 2016
discuss.codeclass.com.ng
Webmasters / Re: Pay After Service: Blog Design + 5k Facebook Group For #2,000 by godofbrowser(m): 12:02am On Oct 16, 2016
Toluwani111:
Still available
Hello Poster,
Your samples are impressive.
Can I make you an offer?
Help write an article and get paid.
I'll send you a mail so we can discuss price and the type of content.
Programming / Re: Best Material Design Music Player by godofbrowser(m): 11:09pm On Oct 14, 2016
The app is okay. Especially the color preference in the settings. Easy customization
Software/Programmer Market / Re: VACANCY: Software Developer (java Enterprise-android And Ios Developer) by godofbrowser(m): 1:56pm On Oct 13, 2016
dhtml18:

They will not tell us - the person will just go and do thanksgiving in church.
That's it..
Programming / Re: Chiwex Easy Website Development With Laravel: Image Upload Snippet by godofbrowser(m): 1:09pm On Oct 13, 2016
Hello, can you write me at ajemeke@gmail.com? I've got something for you as regards laravel.
Software/Programmer Market / Re: Programmer You Are Needed by godofbrowser(m): 11:33am On Oct 13, 2016
mikeoh:
Yes I need to build a forum but the Ani spam bot of nairaland kick me out

Okay.. Duplicate thread
Software/Programmer Market / Re: Wed Designer/front-end Developer Needed In Lagos. by godofbrowser(m): 11:29am On Oct 13, 2016
2Awesome:
Frontend and Backend Developer proficient with HTML, CSS, JavaScript PHP/LARAVEL. 08088001334

Kindly contact me via ajemeke@gmail.com I'm interested in laravel devs
Software/Programmer Market / Re: Vacancy For Full Stack Web Developer by godofbrowser(m): 11:26am On Oct 13, 2016
. Even sublime text is an added advantage.. Na wa! How will someone who knows all the above listed not know sublime text

1 Like

Software/Programmer Market / Re: VACANCY: Software Developer (java Enterprise-android And Ios Developer) by godofbrowser(m): 11:20am On Oct 13, 2016
dhtml18:

You can see why i am coughing now, and the poor dude will probably get like 80k or less for his efforts.

I wonder how a person with 2-5years of experience will have this amount of skills.

Let's wait and see who gets the job.

(1) (2) (3) (of 3 pages)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 52
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.