I'd recommend CakePHP, it's very RoR-like and just nice to work with in general.
I'd recommend CakePHP, it's very RoR-like and just nice to work with in general.
Doesn't matter, someone will suggest RoR anyway.
It's pretty silly to use any sort of live framework for a personal blog. Use jekyll. Don't try to force the same tools into every job, if you can't adapt and expand, you're as good as dead.
I think it's not exactly what i want. I want to create a fairly simple CMS to use not only in my personal site and in simple projects for me or my future non-existence clients, basically i want them to manage the content without any sort of help from me.
I have the worst time with SEO, its probably the most obscure and mysterious things related to web development.
Everyone will say "go social" "keyword meta tags don't do anything" "backlinks" "page rank is important" "don't waste your time, just spend money on advertising"
The problem with social networking sites is if you don't have constantly updating content, your users are going to be exposed to dead pointless facebook pages and twitter accounts.
and if your content is something obscure and uncommon it can get confused with other things. But its still something that needs to be found.
Is there anywhere on the internet a massive checklist of things you need to do to gain some relevancy on Google?
Is this a question that does deserve its own thread?
A while back i would answer your question but now i don't know, Google is changing SEO "rules" every time you finish reading a good book about SEO.
Now i just put my shit up, don't use to much ads and backlinks, and use internal links, social stuff, sitemap, keywords, don't buy traffic/links and hope for the best. One thing is for sure, too much of something is bad.
Yii?
I hate the fact that every time I come up with a good idea, it's already taken and been done very well.
Nope, people love cake, that's why cakephp is better. CAKE!
Ok, difficult question: how can i create a div within the innerHTML() of another div, then later on change the innerHTML() of the new div i created dynamically?
As in, something like this:
that, but imagine i was changing the innerHTML() in another js function. Thanks for the help, I really need to know this so i can finish up my web page.Code:<body><div id="test"></div> <script type="text/javascript"> var x = document.getElementById("test"); var html = ""; html = "<div id='gm_div'></div> "; x.innerHTML = html; var y = document.getElementById("gm_div"); y.innerHTML = "<center>NEW HTML</center"; </script> </body>
This will probably sound really stupid, but how do you PERFECTLY align text exactly how you want it using CSS? I'm trying to align a header so it looks like my logo but I'm having trouble getting it exactly how i want it.
margin-left:, margin-top:, margin-bottom, margin-right. usage: (margin-left: 12px;)
Sorry to bump it up, just can't find an answer. Does anyone know what's wrong with this?
-snip, can't read-
I'm not sure if anything's wrong with it, It just returns the data in some kinda of hex format.
You need to create getter methods for host and port or create a method which returns them in the format you want. For example:
//this would go in your class public function ipport() { return($this->host . ":" . $this->port); }
I don't think var_dump works on instances of classes.
connect() returns a string, and he's doing a var_dump on that.
Try reading more than 1 byte at a time and echoing it out while it's still running, instead of at the end.
Good quality backlinks with quality content on your site will give you the best chance of getting anywhere. People also suggest using the keyword you're trying to rank for on the page a few times, but don't go keyword stuffing. There's tons of other factors that play a part but I believe backlinks are the largest.
Need some help here :)
I have 4 boxes created with a div, they all have display: inline-block; and they are listed with a line break between them in the HTML document. The parent div have letter-spaceing: 5px;.
The problem is that the space between the boxes is a little more than 5px. Does the line break add more than a "letter space"? And how to fix it?
use http://jsfiddle.net/ please.
Fighting the Space Between Inline Block Elements
Edited:
I think you can guess by that link that display:inline-block; is the problem and is adding more space between elements.
Ya, I'v tried some tricks like that. However. I want the spacing, but I want it to be what I set it as, not more. Anyways, as the article said, I can just float em.
edited: Is it another way than creating a new id for the last box to remove the margin-right?
edit2: Is it possible to justify divs like you can do with text?
Ok so someone PLEASE help me with this, I don't think it should be too hard.
Basically, how do I get that nav bar to go all the way across the web page?
Thanks!
try
width: 100%;
Woah, Now this has happened
Also I removed the margin and padding, but theres still that tiny gap at the sides.
Thanks for your help
EDIT:
Ok so the width in my 'ul#list' is 100% and the width in my 'ul#list li a' is 25%. I managed to get this...
![]()
http://jsfiddle.net/6J3pK/2/
Study some pseudo-classes they are useful some times
ohh.. ur doing it like that.
Make a div with the background and bottom border, then make those links inside that div :)
Hello, is there any sort of Web Developing Tools, that can be accessed via browser plus it has ftp+storage?
So you can upload to remote server via online storage+online ftp tool and edit files (like html, php) at will?
Most shared hosting comes with tools like that.
How many times can you put an array inside of an array in PHP?
Because I'd love to see 100 arrays inception style.
-snip wrong-
Answering my own question, turns out PHP will only handle 3 arrays in each other at most.
After 3, they return null and var_dump() just shows 4 arrays with the fourth one having a value of "...". Not trusting var_dump(), I wrote a loop to go through the arrays and it only showed 3.
Edited:
And I'm sure that any amount beyond 10 would have smokey the bear making an example out of you and saying something about "Only you can prevent logic fires."
What?
As far as I am aware, PHP does not limit the number / composition of arrays in any way (and doing so would be quite silly). Of course, you are still limited by the amount of memory that is actually available on the system.
Yeah, I'm pretty sure it's not limited, or if it is, it's limited by a huge number.
I just tried array inside an array times 12 and it works perfectly fine.
I would recommend using print_r instead of var_dump for multidimensional arrays. print_r handles them much better.
If I just want to put up a simple site using something like WordPress, would it be worth it to get my own VPS? I get a feeling that it perhaps will be useful in the future anyway.
If you want to spend a bunch of money just for fun. If you just a simple site that uses almost anything in resources go to a shared, if need bigger resources and you're getting a lot of visitors (a lot a lot) then yes.
Ok so, I need to make an admin panel for a project I'm working on. Since I can't design for shit, I was planning on going with twitter's bootstrap. Anyone wanna try and talk me out of it?
Bootstrap isn't very liquid in terms of design and it is very recognizable.