|
View Poll Results: Which one is best?
|
|
CSS
|
  
|
0 |
0% |
|
HTML
|
  
|
0 |
0% |
|
PHP
|
  
|
1 |
100.00% |
CSS or HTML or PHP for a new site that will integrate api from twitter?
08-05-2012, 06:46 PM
|
CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 3
|
Should I use CSS or HTML or PHP for a new site that will integrate api from twitter to show real time tweets when someone enters a hashtag or search query.
Also how do I track who searches or what was being searched?
Looking to use WordPress as CMS.
Any help would be appreciated.
|
|
|
|
08-05-2012, 06:55 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 1,060
Name: Scott Kaye
Location: Ontario
|
CSS is for styling, HTML is purely content. The ONLY way to do it would be with a server-side language, like PHP, Ruby, Perl, etc.
Have you done anything with PHP before this project? Try getting the hang of it, and discovering what it can and cannot do. If you're coming from any other *real* programming language, you might get a bit lost! 
Last edited by Physicsguy; 08-05-2012 at 06:56 PM..
|
|
|
|
08-05-2012, 07:00 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 3
|
Quote:
Originally Posted by Physicsguy
CSS is for styling, HTML is purely content. The ONLY way to do it would be with a server-side language, like PHP, Ruby, Perl, etc.
Have you done anything with PHP before this project? Try getting the hang of it, and discovering what it can and cannot do. If you're coming from any other *real* programming language, you might get a bit lost! 
|
Hi,
Thank you for your reply!
I have no experience. I'm starting to study HTML. I'm going to outsource & have the site created. I want the site to have good UI (so CSS?) & have good SEO.
Thanks!
|
|
|
|
08-05-2012, 07:43 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 1,060
Name: Scott Kaye
Location: Ontario
|
Quote:
Originally Posted by tornprophecy
Hi,
Thank you for your reply!
I have no experience. I'm starting to study HTML. I'm going to outsource & have the site created. I want the site to have good UI (so CSS?) & have good SEO.
Thanks!
|
While it's *definitely* great that you have ambition, it might also be a downfall. Paying somebody straight up to do a website for you gets you a website, but you don't know how it works, or even what it's made up of. If you wanted to modify something as simple as the text colour, you'd have to ask the designer.
Try making some small websites - whenever you come across a question, punch it into Google and see what comes up. Anything that isn't clear right away we'd be happy to help you with here on the forum!
To get you on the right track, here's some super-simple code for a basic HTML5 (the newest) and CSS3 (newest as well) website. It's pretty straightfoward, just mess around with the values in the CSS and delete things at random in the HTML to see what happens
http://jaxo.heliohost.org/TycoonTalk/Html5Css3/
To practice (if you want, of course, haha), try reading over the code, understand, not memorize, then remake it. Then begin adding stuff to it, your own new boxes/divs, and then you have your own site!
Enjoy!
Last edited by Physicsguy; 08-05-2012 at 07:44 PM..
|
|
|
|
08-06-2012, 04:13 AM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 790
Name: Tony
Location: Seattle Washington
|
Quote:
Originally Posted by Physicsguy
CSS is for styling, HTML is purely content.
|
HTML is not just purely content. But you are correct with CSS.
Quote:
Originally Posted by tornprophecy
Hi,
Thank you for your reply!
I have no experience. I'm starting to study HTML. I'm going to outsource & have the site created. I want the site to have good UI (so CSS?) & have good SEO.
Thanks!
|
The UI is the design of the site, the CSS is the implementation of the created designs.
|
|
|
|
08-06-2012, 11:31 AM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 3
|
thank you for the great advice.
How can I track queries entered into the site? + would i need a database or something like that? if yes, which database do you suggest?
|
|
|
|
08-06-2012, 02:09 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 1,060
Name: Scott Kaye
Location: Ontario
|
Quote:
Originally Posted by vultren
HTML is not just purely content.
|
Content + UI, the raw website, etc, is HTML, whereas CSS is what makes it look nice (at least that's how I do it/think of it). Not sure what else HTML could be used for, besides maybe HTML5 that is moving more towards working nicely with JS..? Dunno.
Quote:
|
Originally Posted by tornprophecy
How can I track queries entered into the site? + would i need a database or something like that? if yes, which database do you suggest?
|
Like I said before, you might want to learn to crawl before you can leap. What do you mean by "query"? A database query? A search query? Anything you punch into a website could be considered a query, I guess. Just so you know, these are URL parameters: querypage.php?variable1=value1&variable2=value2...
Aside from that, I'd personally recommend MySQL(i), because it's the only database I've ever used. There's other ones, like PostgreSQL, and even some weird ones, but MySQL is the most widely used, and with PHP's MySQLi extension, it ends up working pretty nicely.
Last edited by Physicsguy; 08-06-2012 at 02:11 PM..
|
|
|
|
08-06-2012, 02:39 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 790
Name: Tony
Location: Seattle Washington
|
Quote:
Originally Posted by Physicsguy
Content + UI, the raw website, etc, is HTML, whereas CSS is what makes it look nice (at least that's how I do it/think of it). Not sure what else HTML could be used for, besides maybe HTML5 that is moving more towards working nicely with JS..? Dunno.
|
You can style and position elements in HTML.
|
|
|
|
08-06-2012, 02:43 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 1,060
Name: Scott Kaye
Location: Ontario
|
Quote:
Originally Posted by vultren
You can style and position elements in HTML.
|
The style attribute is technically CSS. You put CSS code in it, therefore, to me, it counts as CSS. border, width, height, etc are all deprecated, or have better alternatives in CSS. How else could you style in HTML?
<span style=" color:#00ff00;font-weight:700;">That's CSS!</span> would be
That's CSS!
Last edited by Physicsguy; 08-06-2012 at 02:45 PM..
|
|
|
|
08-06-2012, 03:28 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 790
Name: Tony
Location: Seattle Washington
|
Quote:
Originally Posted by Physicsguy
The style attribute is technically CSS. You put CSS code in it, therefore, to me, it counts as CSS. border, width, height, etc are all deprecated, or have better alternatives in CSS. How else could you style in HTML?
<span style="color:#00ff00;font-weight:700;">That's CSS!</span> would be
That's CSS!
|
<font color="red">HTML</font>
|
|
|
|
08-06-2012, 03:59 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 1,060
Name: Scott Kaye
Location: Ontario
|
Quote:
Originally Posted by vultren
<font color="red">HTML</font>
|
Ewwww! What is that, ancient script?
|
|
|
|
08-06-2012, 05:49 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
|
Quote:
Originally Posted by tornprophecy
thank you for the great advice.
How can I track queries entered into the site? + would i need a database or something like that? if yes, which database do you suggest?
|
Before you start even considering that you need to take about ten steps back.
You need to start with creating the layout, once you have that THEN you can start to work out what the backend needs to do.
Quote:
Originally Posted by tornprophecy
Hi,
Thank you for your reply!
I have no experience. I'm starting to study HTML. I'm going to outsource & have the site created. I want the site to have good UI (so CSS?) & have good SEO.
|
HTML and a server side code are used to create the user interface (UI), CSS just provides the pretty bits.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|
|
|
|
08-06-2012, 05:59 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
|
Oh and your "poll" is pretty useless by the way.
HTML creates a document structure.
CSS makes it look nice.
PHP provides BACKEND functionality,
None of them are "best"
You can't "build" a webpage with PHP, and you cannot create a structure with CSS.
__________________
Chris. ->> Please login or register to view this content. Registration is FREE <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
|
|
|
|
08-06-2012, 07:18 PM
|
Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
|
Posts: 790
Name: Tony
Location: Seattle Washington
|
Quote:
Originally Posted by Physicsguy
Ewwww! What is that, ancient script?
|
When I learned to code, we started with what everyone else started with. That.
|
|
|
|
|
« Reply to CSS or HTML or PHP for a new site that will integrate api from twitter?
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|