₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,092 members, 8,448,616 topics. Date: Monday, 20 July 2026 at 03:32 PM

Toggle theme

Dhtml's Posts

Nairaland ForumDhtml's ProfileDhtml's Posts

1 2 3 4 5 6 7 8 9 10 11 (of 16 pages)

ProgrammingRe: Nairaland Programmers That Share Language And City In Common by dhtml(m): 4:49am On Jul 16, 2014
location-Lagos
Language: dhtml(5) and troll++.
ProgrammingRe: My New Start Up, Life As A Programmer And Testimony. by dhtml(m): 4:35am On Jul 16, 2014
I read your first post immediately you made it, but i chose to reserve my comment, and i still dont think it is time to "comment my reserve".

However, i think your about.me profile should read something like this:
I am a techpreneur, Founder and CEO of Gidigba! Also the co-founder of Homeler. I love computer programming more than anything. I know Python, Android, Java, PHP, XML, JavaScript, jQuery, CSS3 and HTML5. I wanna be the greatest.
You might take a little hint from http://about.me/ogundipe - but dont ask me how i justified my text because as you probably might have noticed, that is not supported.

Mind you, i have not yet "commented my reserve" - maybe i shall never do so on nairaland, I am getting wary of nairaland these days.
ProgrammingRe: PHP Interactive (learn And Teach) by dhtml(m): 4:20am On Jul 16, 2014
You cannot even promote the one a nairalander (namely dhtml) made which is very fantastic and even comes with internal browser - https://sourceforge.net/projects/phpbrowserbox/ - and supports PHP5.4.16,MySQL5.6.12 and SQLite3 unlike the bamcompile (php 4.4 which is no longer supported).
ProgrammingRe: How To Make a DESKTOP Executable Software Using PHP,MYSQL,SQLITE by dhtml(m): 4:00am On Jul 16, 2014
guru01: http://www.bambalam.se/bamcompile/ PHP to .exe
And that too. . .however, this stuff uses PHP 4.4.4 unlike phpbrowserbox which supports PHP5.4.16,MySQL5.6.12 and SQLite3 Database.
And the browserbox comes with its own internal browser.

This is the link - https://sourceforge.net/projects/phpbrowserbox/ - it gets downloaded at least 10 times per week (and 17 downloads already this week and that is telling you something).

Core Features:
* Runs without installation on all versions of windows
* Does not conflict with existing servers like wamp
* Supports PHP5.4.16,MySQL5.6.12 and SQLite3 Database
* Can be executed from a flashdrive directl
* Supports HTML 5, and CSS 3 Media Queries

What i did not include is that it supports node.js - reason - no time to document that aspect properly yet.

WebmastersRe: JavaScript Tutorial From The Scratch Brought To You From Part 2 by dhtml(op): 4:50pm On Jul 15, 2014
GODMode, you should continue the thread, because it is your jamtalking that made me end this class permanently. So let us all troll and enjoy ourselves while we are at it.
WebmastersRe: JavaScript Tutorial From The Scratch Brought To You From Part 2 by dhtml(op): 4:04pm On Jul 15, 2014
Jeez, spamming my threads is one way to frustrate my efforts,
And so I unfollow and resign from this thread.
It is possible that this was my last tutorial on nairaland.
ProgrammingRe: How To Make a DESKTOP Executable Software Using PHP,MYSQL,SQLITE by dhtml(m): 3:43pm On Jul 15, 2014
Hmn, there was an application that can do such a thing that I created called phpbrowserbox. Just google it, I hope it helps.
Remember, if your application does not use mysql, you are better off with phpbrowserbox2 (you can google that too).
And please let us know if this solves your problem.
WebmastersRe: Phpbrowserbox - Standalone Windows Browser That Displays Output From PHP 5.4.16 by dhtml(op): 3:36pm On Jul 15, 2014
It is possible, however, that will defeat the purpose of the software.
You can easily create such a code with a regular php application in the first place.
WebmastersRe: JavaScript Tutorial From The Scratch Brought To You From Part 2 by dhtml(op): 3:33pm On Jul 15, 2014
The two have their advantages and drawbacks, however I will say that using var seem to be the more powerful method especially when creating prototype classes and oop javascript in general. However, that is beyond the scope of this current tutorial.
ProgrammingRe: There Are 11 Million Nigerians On Facebook But 1.2 Million On NairaLand, WHY? by dhtml(m): 7:38am On Jul 15, 2014
^^^Excuse me, i think it is the other way round. I cannot for example tell you that - Amadioha fire your head (on facebook - my yankee dudes will quickly conclude that i don dey madt).
WebmastersRe: Phpbrowserbox - Standalone Windows Browser That Displays Output From PHP 5.4.16 by dhtml(op): 6:24am On Jul 15, 2014
This project has been superceded by http://sourceforge.net/projects/phpbrowserbox2/ and http://sourceforge.net/projects/phpbrowserbox3/ which solves the issues completely. The version 3 has full html5/php/mysql support
ProgrammingRe: I'm Just 16 And I Created An Amazing Android App by dhtml(m): 6:17am On Jul 15, 2014
Xsolutions: LOL @ "Nairaland hacker" cheesy
Na that one una go see. . .
ProgrammingRe: There Are 11 Million Nigerians On Facebook But 1.2 Million On NairaLand, WHY? by dhtml(m): 6:11am On Jul 15, 2014
Djtm: Nairaland doesn't have 1.2m users. Some peeps have 200 monikers (like dhtml, lol). And people who haven't logged in since 2006 still have their accounts listed among the 1.2m users. Same goes for facebook's 1billion users.
whaaaaaat? this is preposterous, if every nairalander has like 200 IDs. . . . .
WebmastersRe: JavaScript Tutorial From The Scratch Brought To You From Part 2 by dhtml(op): 6:06am On Jul 15, 2014
Excellent questions, let us illustrate.

When you declare a function as a variable, the function body can change in the execution of the code, for example:

var hello=function() {alert('Hello');}
var hello=function() {alert('Hi ho');}
hello();
Function Parameters vs Argument

Consider the function used earlier:
function myname(first,last) {
alert('Your full name is '+first+' '+last);
}
myname('Tony', 'Olawale');
'Tony' and 'Olawale' are arguments, while first and last are parameters.
WebmastersRe: JavaScript Tutorial From The Scratch Brought To You From Part 2 by dhtml(op): 11:43pm On Jul 14, 2014
Chapter 02 : JavaScript Events & handlers
JavaScript can react to DOM EVENTS. For example, when a key is pressed on the keyboard, or when mouse is clicked.

However, before we can fully delve into JavaScript events, we need to take a brief look at DOM.


HTML DOM (Document Object Model)
When an html page is loaded, the browser creates a representation of every object on the page - this representation is called DOM.

A graphical representation of DOM goes like this:
https://www.w3schools.com/js/pic_htmltree.gif

The HTML DOM is a standard object model and programming interface for HTML. It defines:
* The HTML elements as objects
* The properties of all HTML elements
* The methods to access all HTML elements
* The events for all HTML elements


With the object model (DOM), JavaScript gets all the power it needs to create dynamic HTML (dhtml):
* JavaScript can change all the HTML elements in the page
* JavaScript can change all the HTML attributes in the page
* JavaScript can change all the CSS styles in the page
* JavaScript can remove existing HTML elements and attributes
* JavaScript can add new HTML elements and attributes
* JavaScript can react to all existing HTML events in the page
* JavaScript can create new HTML events in the page

In this example, the content of the <h1> element is changed when a user clicks on it:
<html>
<body>
<h1 onclick="this.innerHTML='Ooops!'">Click on this text!</h1>
</body>
</html>
We can assign a function to the event, so when the event is triggered, the function is called - this kind of function is called an event handler.

<html>
<head>
<script>
function changetext(id) {
id.innerHTML="Ooops!";
}
</script>
</head>
<body>
<h1 onclick="changetext(this)">Click on this text!</h1>
</body>
</html>
When an event handler is called with 'this'. this represents the DOM object where the event took place in. So the handler used above called changetext can use id (which is the variable used to represent this).

There are different classes of DOM events:
* Mouse Events
* Keyboard Events
* Frame/Object Events
* Form Events
In the next class, we are going to be looking at the various classes and commonly used events with examples.
ProgrammingRe: Front-end And Back-end Web Developer by dhtml(m): 11:15pm On Jul 14, 2014
techalladin: These are the reasons why tech startups in Nigeria find it hard to employ and retain good devs. They lack the ability to assemble dev teams and leverage on the concept of division of labour or in tech terms, Separation of concerns (SoC). Also startups need to be able to evaluate what technology stack works best for them, invest in them or if the technology is open source, embrace it. That doesn't mean when that technology becomes obsolete you can not move on to greener pastures. Its for this reason frameworks such as MVC or MVVM where developed. So members of the team can concentrate on what they do best e.g UI or the core Business Logic, I.e writing efficient code that can stand the test of time. These practices would definitely lead to more money in the bank on the long term. We sure have a long way to go, to catch up with the indian guys. NB we have an indian at the head of Microsoft.
I tire for this country. . .
WebmastersRe: Please Help With This Sql Problem by dhtml(m): 8:21pm On Jul 14, 2014
daddynasa: I tried (SELECT * FROM messages WHERE recipientid=1 AND senderid=2) UNION (
SELECT * FROM messages WHERE recipientid=2 AND senderid=1) but only one of the users sees the messages between the two users
and secondly getting their uname from users table with their IDs using INNER JOIN is futile
Yeepa! see query o! Unsubscribes and runs away from the thread very fast.
ProgrammingRe: Front-end And Back-end Web Developer by dhtml(m): 8:15pm On Jul 14, 2014
codeline: Don't seem to understand your post. I would like to know What kind of offer you are talking about.
If you posses most of those requirements like me, you will understand my post. I am a specialist, even if I will want to work for a company, they must select which one of my specialist skill they require - not all (except they can pay for it).

Ajibel: These requirements na die oo lmao grin
Exactly why i said what i said. You obviously understand it as i do.
WebmastersRe: Please Help With This Sql Problem by dhtml(m): 12:13pm On Jul 14, 2014
You are welcome. So once you do left join on the tables, that should solve the problem.
ProgrammingRe: How Much Would It Cost Me by dhtml(m): 10:35am On Jul 14, 2014
Interesting, there are nice chat scripts out there. Just get a good developer to help you selet one and help to customize it at a price for what you want
ProgrammingRe: Front-end And Back-end Web Developer by dhtml(m): 10:26am On Jul 14, 2014
Even if I was reduced to my last penny, I shall never ever and ever take this kinda offer - it is simply preposterous to say the least, and I find it awful. I will rather just give up programming and go and start laying blocks (real concrete block using manual tools).
WebmastersRe: Please Help With This Sql Problem by dhtml(m): 7:12am On Jul 14, 2014
You will have to join tables, i still dont understand the request. But as i see two tables, so i guess you have to join tables
WebmastersRe: Please Help With This Sql Problem by dhtml(m): 5:44am On Jul 14, 2014
*dies* i canna understand your english.
ProgrammingRe: I'm Just 16 And I Created An Amazing Android App by dhtml(m): 10:54pm On Jul 13, 2014
Donkunxex: wen I was 16 too......... but nt wapka!
Are you sure it was not 6?
ProgrammingRe: I Challenge You (high Octave Programmers) by dhtml(m): 10:54pm On Jul 13, 2014
DharkPoet: Nope me and you follow come like Nokia charger cheesy
Na only you go waka follow the op
ProgrammingRe: I Challenge You (high Octave Programmers) by dhtml(m): 10:05pm On Jul 13, 2014
DharkPoet: Alright, let's hear what you got.
Free!
ProgrammingRe: I Challenge You (high Octave Programmers) by dhtml(m): 10:03pm On Jul 13, 2014
Na only you waka come?
ProgrammingRe: I'm Just 16 And I Created An Amazing Android App by dhtml(m): 9:50pm On Jul 13, 2014
tsleazy: hey man....I admit that qbasic cannot get you a job ( we all know that), but it introduces programming concepts (like: looping, arrays, decisions e.t.c) a gentle and simple manner, hope you remember that: most if not all of our new generation laguaages are derived from what you call "old school " languages" , I have a friend (not studying in 9ja) who's learning java as a startup langauge, the poor guy complains everytime about how hard it is for him to grab/understand what he is learning...if he started with something like qbasic it'll have been easier for him
Na by force to program, if your brain capacity no reach programming nko? Hmn, maybe you are right. But in this oop world, i think it is best to start from c or java, no matter what you eventually turn to - web developer, mobile app developer, desktop programmer, games programmer, nairaland hacker etc
ProgrammingRe: Website Review by dhtml(m): 8:45pm On Jul 13, 2014
Hehehehehe, bootstrap tinz
ProgrammingRe: What App/Startup Clones Would Be Successful In Nigeria Or Africa? by dhtml(m): 8:45pm On Jul 13, 2014
Awoofawo: cool Seun of Nairaland cool
I wan chop ban grin
Nairaland is one of naija's greatest tech startup, whaddaya mean (call me dirry liar, but at least them no go ban me)
ProgrammingRe: PHP Interactive (learn And Teach) by dhtml(m): 6:04pm On Jul 13, 2014
Ah i see, i am a learner on this thread really.

1 2 3 4 5 6 7 8 9 10 11 (of 16 pages)