Delomos's Posts
Nairaland Forum › Delomos's Profile › Delomos's Posts
1 2 3 4 5 6 7 8 9 10 (of 12 pages)
Ema4rl: Count me In.... First I want sum1 to list all the useful apps I need to see if I have to download any1 I don't haveAre you proficient in HTML/CSS or PHP Or Javascript? Or what will you like to contribute to? |
spikes C: but jquery mobile requires a seperate domain/sub domain or if i just insert the header scripts and css, would it just convert the website to mobile optimisedNot necessarily, read the docs: http://jquerymobile.com/demos/1.1.0/#/demos/1.1.0/docs/about/intro.html |
Fayimora: Hmm your choice!Not sure what that means, yes, no? |
So this is it, firstly, Javascript it not a server-side language: 2. I'd advice on how to use jsFiddle - there is box that says "HTML", another says "CSS" and another "Javascript. Paste the proper code in the right places. 3. It doesn't seem you have any rudimentary understanding of JavaScript, read through this tutorial: http://www.w3schools.com/js/js_intro.asp. You can't be talking of writing a function if you don't even know what a function is. Generally, I will be willing to help if you've invested some time in truly learning on your own. Those said: the syntax for writing a JavaScript function is: function functionName() { //do stuff here } In your case, it'll be: function textBox1_onBlur(){ //do stuff here } That syntax you have is for VBScript, they are two completely different language. So again, learn JavaScript fundamentals, then I can help from there. |
ekt_bear: I don't have the time (or interest, really) to learn it...I'll hire it out.Yes, you can, but just to let you know, JS is a must-have toolkit in any modern dev'er box -- so even if not now, you might be forced to later. And quite frankly, dev'ing for mobile is getting more exciting by the day. So while you can source it out, it might be nice to understand your deliverable expectations. |
#2 is easier, #1 feels more native and much more flexible Both might require some JS-fu skills, but I think the investment in #1 is worth the learning (at least browse through their respective docs). |
Not super fancy, if you have an iPhone or Andriod, I'm looking for private beta-ers to answer a few questionnaire and give feedback on an app (see attached) 1. Own a BB/Andriod/iPhone 2. Have reasonable access to mobile internet 3. Be fun -- and be ready to use an unfinished product. This app is kinda niche (it's for logging ourdoor adventure)
|
If you're app has a solid seperation of front & back-end, you can (which is what most folks do): 1. Write a JS/CSS (HTML5) version using one of the many frameworks (JQ Mobile, Sancha Touch 2, etc) and, well, that might do it. If you want to go the extra mile, you can PhoneGap it and make it native. OR 2. If all you care about is having your app accessible in mobile, add media queries to your stylesheet (look at SASS/Compass, or, if you're using a CSS frameworks like 960.gs, you can try the Impact.js) that adapts your site to any screen, PC or Mobile. |
jt2010: Bros,This isn't an HTML question per se and I'm guessing you want to do this in JavaScript. 1. Paste your code (the above) on http://jsfiddle.net/ (and run it and see if you can see what the problem is). 2. You still have issues, open a new thread and post your question there with the respective jsfiddle link. Cheers. |
Ajax1211: Ive being designing websites about three years now, Early this year i decided to learn php, java & oracle so ive being spending alot of time with my laptop, sometimes 8 hours in a day. Recently i started having head aches and my doctor friend told me that the reason was because of the rays from my laptop & that if i dont reduce the time i spend with my laptop, i wuld have problems with my sight. Then i said to myself, i know some nairaland guys that has being writing codes for more than ten years now how come they dont have problems with their sight. Guess i could use some advise from you guys, How do you become a programmer without having eye problems?Umm, interesting, there is something called "occupational hazard". A runner who gets a sprain from running wouldn't really say: "Ok, that's it, I can't do this anymore" -- well, he can't really become a runner. Or, a fellow, trying to learn to play the guitar and after a few strumming, he say: "damn, my fingers are swollen and sore, I guess guitar is not for me." And truly, it's not, some things are rights-of-passage. Anything, requires some "cross" to carry, maybe a little eye-strain here and there, maybe a little (or lots of) boredom, maybe a little insanity, maybe a little (or lots of) Soliloquy (http://en.wikipedia.org/wiki/Soliloquy). If one is passionate about something, this are in fact motivators. That said, if the monitor bothers you, and you think programming is for you, some advice: 1. Get a sunglasses 2. Take short breaks in between, give your eyes a break, stare at something else for like 5 mins (sometimes I use pomodoro > http://www.pomodorotechnique.com/, 5 minutes break after 25/30 minutes) 3. Enjoy what you do. |
Fayimora: Am done with exams.. Wassup here?I've decided I'm sticking with PHP & Friends, RoR is not a worthwhile shift, if you don't want to do the back-end, want to add some sugar to the front-end? |
leastpay: D question now is how do reference an image uploaded to a file in mysql db using phpThere are a few ways to do it, PHP has a bunch of built-in function for dealing with system files (where your image would sit), read through this PHP Man section and Google around to see how the problem is approached (and quite frankly, you will be re-inventing a wheel trying to write this vanilla) :: http://www.php.net/manual/en/function.file.php (this assume the upload is from a verified user on your app) The general idea is, upload the file and check it's something you expect, prepend or added unique filename to the path (store that to the DB), and it's be referenced in the app per user, somethings like /home/wwwroot/images/[username]/local/[somerandomSHA].jpg < (this sits in the DB) So your DB srtucture would look something like: [User] -- has many --> [Images] [Images Table] : user_id (FK) | image_name | image_ref user_id: this is a foreign that attaches to the repective User image_name: the name the user gives their stuff image_ref: the real path it sit on the DB AS you can see, that approach is a lot more flexible, takes some wrapping head around, but it's the common pattern. |
ekt_bear: Eh. mySQL if I remember correctly has the BLOB data type. So presumably sql DBs are capable of handling binary data of some sort.I do agree to your point, it can handle images. The issue is, it doesn't scale upwards well. Imagine have to store people's uploads in your DB, and then retrieve several of them. When your app gets popular, you'r DB will lockup soon or later (not to mention having a huge DB), it's very doable, but expensive. An efficient manner is (which is the accepted standard), store the image in a file sys, and have a reference to it in the DB. |
ekt_bear: why? what difference does it make? slight speed difference?It makes a lot of different, if it's a small site, mehh, but the large it gets, it takes a toll on READing and Writing, not to mention you can't index, or trigger, etc and it's just bad, bad, DB design. |
Take a look at this thread: http://www.kirupa.com/forum/showthread.php?325746-Using-PHP-to-update-an-XML-document |
csharpjava: I'm not kidding. See this link that does it for you online http://www.patternmedia.com/projects/image_to_html_converterI stand correct, my apologies @OP ^^ pretty much answers the question. Aside academia, I'm really not sure the practicum for this, @OP, what are you using it for? |
etchel: I need the raw file of "Aweber" and also ebooks on OS development. Urgenly pls. Thanks"OS" as-in Operating System or you mean "iOS[X]" (as in Apple's Operating Systems)? |
What is your database schema like? |
Yes. |
ayox2003: Lovely article you got there.
|
It's probably going to pay off for you to do as: ogzille: www.whathaveyoutried.comCalling a single random person to help solve the problem might be myopic. |
pc guru: no way, the only way i know is re-writing it to Yii, besides the most changes will be your Classes since they almost have similar convention anyway.^^ In addition to this, you might also want to reverse engineer your Zend DB; if you're DB is well-designed, use that as the basis to generate Models through "Gii", write a fat model based on your Zend app's logic, then proceed as @pc_guru described. |
jt2010: the Website you provide for uploading is not loading, please checkI've outlined how to approach the problem here: http://jsbin.com/utibuq/2/edit (read the comments) |
jt2010: Bros,A Google search gave this, which looks good: http://designmodo.com/xhtml-css-templates/ . And I'm sure googling on your part can yield more. |
One of my favs, Jeff Atwood (co-founder of StackOverflow) wrote a super interesting article yesterday about the "learn-to-code hype" which hit a lot of chords, consdiering there are many "places" popping up here and there promising to turn you into a programming guru in a month or two or a few months, urrggg. It turns out that research has it to be proficient at anything, you need to have invest 10,000 hours doing it. Being good at programming, or music or anything in life meets the same principle it turns out programming is quite boring and lonely, having a passion to invest 10,000 hrs in it demands passion, real passion, not just a fad thing -- And here is an excerpt from JA (read the full here: http://www.codinghorror.com/blog/2012/05/please-dont-learn-to-code.html) ***** The "everyone should learn to code" movement isn't just wrong because it falsely equates coding with essential life skills like reading, writing, and math. I wish. It is wrong in so many other ways. It assumes that more code in the world is an inherently desirable thing. In my thirty year career as a programmer, I have found this … not to be the case. Should you learn to write code? No, I can't get behind that. You should be learning to write as little code as possible. Ideally none. It assumes that coding is the goal. Software developers tend to be software addicts who think their job is to write code. But it's not. Their job is to solve problems. Don't celebrate the creation of code, celebrate the creation of solutions. We have way too many coders addicted to doing just one more line of code already. It puts the method before the problem. Before you go rushing out to learn to code, figure out what your problem actually is. Do you even have a problem? Can you explain it to others in a way they can understand? Have you researched the problem, and its possible solutions, deeply? Does coding solve that problem? Are you sure? It assumes that adding naive, novice, not-even-sure-they-like-this-whole-programming-thing coders to the workforce is a net positive for the world. I guess that's true if you consider that one bad programmer can easily create two new jobs a year. And for that matter, most people who already call themselves programmers can't even code, so please pardon my skepticism of the sentiment that "everyone can learn to code". It implies that there's a thin, easily permeable membrane between learning to program and getting paid to program professionally. Just look at these new programmers who got offered jobs at an average salary of $79k/year(N11.1M) after attending a mere two and a half month bootcamp! Maybe you too can teach yourself Perl in 24 hours! While I love that programming is an egalitarian field where degrees and certifications are irrelevant in the face of experience, you still gotta put in your ten thousand hours like the rest of us. ********** |
jt2010: Hi guys,^^^ Paste this code on www.jsfiddle.com (put it in the "javascript" box) and see if you can figure out what the issue is, and then we can go from there (then you can ask a specific question). |
jt2010: Bros,^^ There you go ![]() |
use <tfoot> <tr> <td></td> </tr> </tfoot> for the footer of the table it's optional, but the syntax is often the same. jt2010: Write a CSS rule that makes all gtext 1.5 times larger than the base font of the system and colors the text red.Paste the HTML you're referring to on http://jsbin.com/#html,live |
jt2010: Hi,For a valid table, you need the following elements (with thier respective opening and closing tags HTML fashion): <table> <-- this indicates the start of the table (then later closed with </table> ![]() <thead> <-- this indicates that the section will be in the table's head <tbody> <-- the body of the table <tr> <-- A row in the table <td> (or <th> if it's in a <thead> <-- this indicates a table data within a table row (tr), so to put it together you have something like:
see another variation on the table thing here, play with it, see the results and the idea will sink in, then you'd see the issues with your own table : http://jsbin.com/ovuqix/2/edit |
9japipper: I am having a real hard time integrating a good member management system on my WordPress blog and also the mail function seem not to be working too.What exactly is the problem, are you getting an error message? From the plugin or WP itself? Post the message you're getting and/or screenshots. The more specific you are, the better help you get. And of course, there is always google.com |
jt2010: Bros,Paste the full mark-up (the whole thing) on jsbin.com. |
If you're open to other options on frameworks, you should take a look at FuelPHP, Yii or Kohana, they each have a lower learning curve and significantly snippier than Zend (Kohana being my #1 choice for reasons I stated here: https://www.nairaland.com/935775/best-php-framework-application-development). That said, there is a great start on Zend here: http://www.1stwebdesigner.com/tutorials/zend-framework-first-steps/ |

