₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,993 members, 8,419,845 topics. Date: Thursday, 04 June 2026 at 02:05 AM

Toggle theme

Delomos's Posts

Nairaland ForumDelomos's ProfileDelomos's Posts

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

ProgrammingRe: Best PHP Framework For Application Development? by delomos(m): 4:45am On May 12, 2012
I used to like cake so much so that i got my own fork to support auto Completion in the best PHP IDE ever PHPStorm (https://github.com/delomos/cakephpStorm) but that's 1/4 the story. I careless for Cake these days.

@pc_guru has correctly answered but by your follow up question is seems you really shouldn't be worrying about frameworks. You should learn the basics first.

Timileyin: which one of this frameworks can i use and not use there models and layout structure.. just want to plug it into a currently built application and use some functions
None. None, of them can you not use their structure, it's what defines it as a framework. They set the structure for you to build on. If you have a pre-built app AND you want to adopt it to framework, you have these options:
1. Port you legacy code to the frameworks methodology
OR
2. Look at how the framework structures it's stuff and clean up your code to emulate the frameworks paradigm
OR
3. Trash you stuff and resolve the problem with a framework.

Certainly, none will be easy.

Most frameworks use MVC design pattern and some (notably Yii) pair that with ActiveRecord or ORM. And while we're naming names, they all often implement Singleton and static instances, if you don't understand any of the previous sentence, which is the best framework is the least of your worries, forget them for now, learn the basics, I'm probably repeating myself.

Now that we're all on the same page, I'd mention two exceptional frameworks and why I like one over the other:

Yii (http:///IPbHON) : It's a great framework if you like code generation, I don't. Yii has a lot built in, it's fast (they say). It (almost) forces you to model you data, then work forward from there, some think that's flexibility, not me, I don't like that Yii::app()->thing. Very powerful helpers and ActiveRecord is sweet.

Kohana (http:///IZwHr6) : this is that Uncle we all love to hate, he pulls our ears and smacks us, but his stories are irresistible and always interesting. That is Kohana for you. You have to know you PHP and Kohana opens a new door to you, if you like $me = new Model(), or you're a Model::factory('me'), it's all you, I like that everything is staticy -- sure, no fancy Gii or Zii, no code generation, or command line magic, roll up your sleeves and do your work. It's a delight. Oh, and very well documented.
ProgrammingRe: Any UI Designers On Nairaland? by delomos(m): 4:20am On May 12, 2012
UI/X is a love & passion of mine, yes. Specifically, designing Interaction.

you can always shot me a mail: me {at{ delewrit.es
ProgrammingRe: Error With XHTML Markup by delomos(m): 7:59pm On May 11, 2012
jt2010: Bros,

Thanks, it has finally be validated now but i still have issue with this other question. Can you kindly help with this.


Write a CSS rule that makes all gtext 1.5 times larger than the base font of the system and colors the text red.
AS always, give it a shot and paste it on www.jsbin.com and I'd let you know how it goes from there.
ProgrammingRe: Error With XHTML Markup by delomos(m): 5:55pm On May 10, 2012
<td><img src="../Week 2/ch04XHTML/fig04_11/camel.gif" width="410[b]px[/b]" height="350[b]px[/b]" alt="" border="0" /></td>
ProgrammingRe: Error With XHTML Markup by delomos(m): 3:52pm On May 10, 2012
see my preceding post and maybe read this: http://www.w3schools.com/tags/tag_font.asp
ProgrammingRe: Error With XHTML Markup by delomos(m): 2:07pm On May 10, 2012
jt2010: Thanks,

I have done the table but i do have some error when i try to validate it. pleas help. Here is the markup file.

https://gist.github.com/2652521


Many thanks.
here:

<p>
<b><font color="black" size="+2">Objectives</font></b>
</p>


to HTML "+2" dosn't mean anything, try doing 2px, 2em, or 2pt, depending on what you're trying to archive.
This type of font is also not really used anymore, you can try this:

<p style="font-size: 12px; font-weight:bold;">Objectives</p>
this is much shorter and current.
try fixing it and seeing the output here:http://jsbin.com/amibin/edit#html,live
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 8:43pm On May 09, 2012
Fayimora: I smell @Beaf lol.


Do you know what uni I go to? lol anyways, they don't work for these companies. Apart from those that co-founded, they are "company fellows" and not consultants. I could have given you a link to a few of our discussions but you would not have access. They say smalltalk rocks but they never advice anyone to use it in production.
Can you send me a links to few journals from them, or their school pages, I'm curious.
ProgrammingRe: Error With XHTML Markup by delomos(m): 8:41pm On May 09, 2012
jt2010: Dele,

Please i need your help again. How can i Create the xhtml markup that produces a table. Using <em> and <strong> tags as necessary with a camel image as see from the attached image from this post.

Here is the assignment:

Create the xhtml markup that produces the table shown below. Use <em> and <strong> tags as necessary. The camel.gif image can be downloaded from http://www.deitel.com/books/iw3htp4/



2. Write a CSS rule that makes all gtext 1.5 times larger than the base font of the system and colors the text red.
Post what you have on jsbin and I'd see what's off, read about tables here: http://www.w3schools.com/html/html_tables.asp
ProgrammingRe: How Do I Convert Photo To Html Code ? by delomos(m): 5:53pm On May 08, 2012
Not possible.
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 5:53pm On May 08, 2012
Fayimora: Am not sure you thought this through. You described almost every staff in my department. They mostly have companies they either founded or co-founded or manage/associated with, no jokes. They all teach lol. So what's your point? Do you expect all or even half of the dissertations to solve real life problems? How many companies solve these problems? A few. I know a couple of dissertations/projects that do and one that is very popular now is Representational State Transfer. Fielding defined this in his dissertation. Oh how did google begin?
You're rather lucky then,I"m guessing you school might be on the smaller side and Prof. are usually acting as outside consultants vs. really implementing the stuff.

If you're Prof. has been teaching since forever, and tenure, there is little motivation to learn java, heck, they say, smalltalk rocks and it's "original" then they'd quote Bjarne Stroustrup and their own implementation of an idea, but I digress.

You raised very interesting case studies:
1. REST: the original paper and the current implementations in real world is not per the paper (strictly speaking). Andmany purist will even argue, Rails is not RESTy which is what ironically made REST popular.

2. Normalization: Set theory and database is a common dissertation topic, seriously complex and purist will talk about 1, 2,3, 4,5NFs. It turns out, in the real world going pass 3NFs just doesn't work.

3. Design Patterns and OO: Object Orientation is now a 1st year course in many school, as you go up the ladder, they start talking about systems engineering, somewhere there GoF will come up. In the real world, out of the legacy 23 DP, only about 6 or so are solving real problems in the real world (at least in common use).
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 5:41pm On May 08, 2012
A-ZeD:
....

Assuming we start with the 2012 budget, we will have nothing, but starting with the 2013 budget, we should see things that where budgeted for in 2012 and are still budgeted for in 2013....
As for the bolded, I just think an app like this will be useful in 2019 i.e more of a long term thing
If well developed and publicised, more and more people will be interested in the budget/government spending which will make it harder to execute the same project in 2 consecutive years.
Oe thing I'm thing I'm not sure it's constitutionally required the government makes public any spending form the budget; if there is no provision for that, it will be extremely difficult to keep track of what is where --

And, who will be updating with new spending and all?
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 1:56pm On May 08, 2012
Fayimora: Now that SERIOUSLY depends on the university! wink
I can bet that if your professor is tenured AND is doing research AND is the one teaching the class (most likely not), that will be the case. I guarantee it.

What most progressive schools (coming to mind is Stanford, Harvard's Incubator programs) are doing is they're bringing in practitioners to teach how this stuff-really-works-in-the-real-world.

How many frameworks and paradigms are coming from universities? Yes, countless dissertations but how many solving real problems?
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 1:47pm On May 08, 2012
A-ZeD:
The subsidy debacle/probe inspired the idea of a budget monotoring app. i started it as a side project but i stopped at the design stage cos other issues came up.
I actually lunched a parallel campaign in the midst of the subsidy thingy itself -- www.occupy9ja.com & the counterpart twitter hash and names. The idea then was to use the power of social media to push some collective bargaining by the citizens. It turned out after the protest and all, there is more to fixing things than clever looking app/sites, not mention the "God-fathers."

A major huddle that will be crossed here is: can people put their head where their body is (and the obvious problem of is the government information of budget policies open)? Which is the challenge of the aforementioned.
ProgrammingRe: Error With XHTML Markup by delomos(m): 7:51pm On May 07, 2012
jt2010: Many thanks, you are so help. I have done all your taught me and it validates all.

Many thanks.
You welcome pal.
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 6:51pm On May 07, 2012
ekt_bear: .....But you won't get the best jobs with that alone, I think
Certainly not, those are just preliminary filters.
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 6:06pm On May 07, 2012
ekt_bear: .....

But to be honest, the top companies, the ones that pay the most, when interviewing expect you to do puzzles and stuff. The university class I think is really helpful for the "puzzle" companies, but probably not that useful for the "memorize" companies.
Again from experience, they will actually ask you about Algo/DS + puzzles
ProgrammingRe: Error With XHTML Markup by delomos(m): 6:04pm On May 07, 2012
jt2010: Dele,

Many thanks,

I have upload the file now to :

http://jsbin.com/oyocey/edit#html

https://gist.github.com/2628828
I made some notes on the jsbin, you can pick this up from there: http://jsbin.com/oyocey/3/edit, also to get a better understanding of the notes I made in there, read this: http://www.webdesignfromscratch.com/html-css/introduction-to-html/
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 5:53pm On May 07, 2012
delomos: In my experience, the Algo classes thought in Uni, are too theoretical for real world application (same goes to most Uni approach to Design Patterns and/or OO).
Now that SERIOUSLY depends on the university! wink
ProgrammingRe: Learning Php by delomos(m): 4:42pm On May 07, 2012
okeyxyz: uhmm.., i don't think that's a good idea. php.net is more of a reference document and not for teaching a beginner. best way to learn is get a textbook\ebook.
+ 1 that
ProgrammingRe: Error With XHTML Markup by delomos(m): 4:42pm On May 07, 2012
jt2010: Thanks Men,

I really appreciate. Did you mind if i have your e-mail address. Thanks please let me bother you again with this problem.

I have attached a xhtml markup i generate but it keep saying error.
Please put the code on http://jsbin.com/#html,live or https://gist.github.com/ So every one else can see it, and it's easier to see what the issue it that way.

and you can always ping me at http://twitter.com/delomos
ProgrammingRe: Algorithm Design & Analysis: Because It's What Some Do by delomos(op): 4:38pm On May 07, 2012
ekt_bear: I don't agree with this. You need to be comfortable with things like big-oh and some basic math and know how to program a bit.

You can get a lot out of an algorithms course w/o tons of prior algorithms experience. Having not seen or used quicksort/mergesort before doesn't prevent you from absorbing a lecture on it.
Don't you think it's rather challenging to really analyze an Algorithm if you've never encountered it? (I agree, not implemented it) And most's in A/Ds knowledge of some algo and programming --
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 4:10pm On May 07, 2012
A-ZeD:
A Budget Monitoring/Performance Application.

Monitor the budget of the both federal and state governments
Love this, it can also be extended to make people vote/discuss on issues (perhaps those on the houses) -- a sort of open-governance platform! Brilliant bro!
ProgrammingRe: Learning Php by delomos(m): 10:27am On May 06, 2012
ProgrammingRe: How Can I Get Port 8000 Or 8080 For Live Streaming by delomos(m): 9:01am On May 06, 2012
What version of WIn 7 are you using?
ProgrammingRe: What Can Python Programming Language Build? by delomos(m): 12:37pm On May 05, 2012
dansmog++:
.....i just wanted to get a straight answer and not some bunch of article, before i can get what i want...
Much respect bro, you're a good sport, that joke was just a joke glad you got it, no harm intended.

It will have been helpful if you added the above to the original post so you get precise answers, that said: Python is a scripting language as you might have noticed but doesn't mean "scripting" in the sense of an informal programming language that you just hack a few things together with -- it is a lot more powerful than that because ...

There are extensions you can add on top of plain python to make it do pretty whatever you want (I can bet, if it's something doable, someone has built a python extension for it) -- web, build a graphical music player, create mobile app, you name it, when you learn the python language itself, and that time reaches, you will know where to find what you need to make python do what you want.

That said, is python just a scripting language, yes and no. You can use it for scripting (in the pure sense) if you wish, and you can do much, much more if you so please, it's up to you (which is where it's significantly different from a programming language like 'Java' that doesn't give you that option).
ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 1:04am On May 05, 2012
Kobojunkie: [color=#FF7F00]Let's please stay away from Nairaland. As developers, there is a vast world out there outside of Nairaland, that I don't see why we should even poke it with any stick we have got working with. If the owners of Nairaland want to change it, they will do it on their own.
[/color]
you made valid points, and this reminds me of GitHub's (and many other service) models, see attached (At the footer of GitHub repo page).

Kobojunkie: [color=#FF7F00]Please be less vague. Why would developers spend their time building such and what is there to gain please? Just curious.[/color]
NairaLand is a knowledge portal, it's model is a bit dated but classic, ppl come start a topic, other comment, etc
StackOverflow (and it's siblings) is a knowledge portal, in form of a Q/A with many other interesting subtleties.... : both are trying to solve the knowledge problem and harnessing the wisdom of the crowds.

In Nigeria, there is a huge knowledge gap, not because there aren't ppl with varying knowledge but because there isn't the avenue to tap that "wisdom of the crowd". So this portal (perhaps narrowed to folks with interest in development/software) will be an avenue where folks can collaboratively solve problems, track progress of problems you're contributing to, find mento[r/ee] you you can lead/follow -- two is certainly better than one, and more even better.

It's give folks who don't other have the avenue to insights that might other not have been possible.

Kobojunkie: [color=#FF7F00]
Why do we need an Afrocentric "Reddit or Digg". I ask again because I don't even know what Reddit or Digg really does or the value those services add to the lives of those who use 'em, so I am curious as to why I or anyone with spare time would want to invest that in rebuilding what already exists, only so he/she can claim it is more afrocentric.
[/color]
Reddit/Digg helps sort relevant stories by people (which poses a serious chicken/egg problem). And the problem that solves is geting relevant news in the mass of news floating around and of course, people create their stories around them. I guess you can see how an Afro-centric one might be different, especially considering the intellectual challenge of coming up with a passable design and sweet algorithms -- it's one of those you solve cause it's interesting.


Kobojunkie: ....We need great ideas, not your usual 'social networking and not much else' applications or the average computer project subject picked up by students down in nigeria
Apart from the condescending ton of "...down in Nigerian," great ideas are a myth, there is no such thing as a great idea, just an FYI.

ProgrammingRe: [Project] 2012 Summer Of Code - WORK HAS COMMENCED by delomos(m): 9:21pm On May 04, 2012
Great! A have a few in order of interest:

Idea 1:
A good one will be to work (improve) on this site (Nairaland) -- there is little question that this app needs major work and of course give back to this community, even if it's just the software section alone --
So, what needs to be worked on (patches):
a. UI.
b. Tighter Notification system.
c. Social Media Integration (references, cross-post from FB,or Tw?).
d. Better interaction.

Well, and of course, all that depends on IF the proprietor of the site is willing to bend that way, most likely not but I can dream.


Idea 2:
A social knowledge(QA?) portal with an integrated code review environment (the second half is already solved via many APIs & Librarys, part A is where the challenge is).

Idea 3:
An Afrocentric "Reddit or Digg".
ProgrammingRe: Any UI Designers On Nairaland? by delomos(m): 5:56pm On May 04, 2012
eazyd: Thanks for the details.. i have no experience in graphic designs, will this be a set back?
In the overall scheme of things no, but it'd be challenging initially considering your class-mates will.
ProgrammingRe: Error With XHTML Markup by delomos(m): 5:53pm On May 04, 2012
I illustrated the point here (see the comments): http://jsbin.com/uwupaj/edit#html,live
ProgrammingRe: Error With XHTML Markup by delomos(m): 3:01pm On May 04, 2012
Issue 1: "<p></p>" is a block level element so it is not semantic to have a <br/> inside it, sine <br/> is a block-level element too (though inline elements like <span>, <strong>, etc are fine).

Issue 2: under XHTML <br> and </br> are invalid, the only valid markup is <br/>
ProgrammingRe: Any UI Designers On Nairaland? by delomos(m): 2:57pm On May 04, 2012
OK, I can give targeted response now, there is the good and the bad.

First off, since UI/X is a relative new and growing field, there are few colleges that focus on this hard-core as a sole program, though, you can take it as an elective in the course of your program. What you want is a school that has a solid focus on design and/or Art which UI/X has its roots.

A school I would recommend whole-heartedly is Rhode Island School of Design (RISD) especially the MA program in "Digital & Media" or "Graphic Design" (which as I mentioned earlier has elective in UI/X,etc.) -- the very good thing about this school is, it's it located in proximity of schools leading research in human-computer interaction: MIT, Harvard, Brown, BU, etc. which are undoubtedly some of the best in the world, and, you can take extension programs from these schools too while attending RSID.

And as you might have guessed, it's expensive, but very, very worthy (and this area of the US [New England] is one of the most expensive to live).

But before then, read books on this field and see the schools (which, if you're passionate about this wouldn't be a chore, or at least see the bibliography section), or institutions they reference, research them and their programs then you can be the judge.

Ones that come to mind and are great reads:
1. The Design of Everyday Things (http://amzn.to/IsVpuY)<<---- if you can't read any one, read this!
2. About Face 3 (http://amzn.to/IsVmiD)
3. The Art of Innovation (http://amzn.to/IsVleJ)

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