Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

View Poll Results: Which one is best?
CSS 0 0%
HTML 0 0%
PHP 1 100.00%
Multiple Choice Poll. Voters: 1. You may not vote on this poll

Reply
CSS or HTML or PHP for a new site that will integrate api from twitter?
Old 08-05-2012, 06:46 PM CSS or HTML or PHP for a new site that will integrate api from twitter?
Junior Talker

Posts: 3
Trades: 0
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.
tornprophecy is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-05-2012, 06:55 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
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!
__________________

Please login or register to view this content. Registration is FREE

Last edited by Physicsguy; 08-05-2012 at 06:56 PM..
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 08-05-2012, 07:00 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Junior Talker

Posts: 3
Trades: 0
Quote:
Originally Posted by Physicsguy View Post
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!
tornprophecy is offline
Reply With Quote
View Public Profile
 
Old 08-05-2012, 07:43 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
Quote:
Originally Posted by tornprophecy View Post
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!
__________________

Please login or register to view this content. Registration is FREE

Last edited by Physicsguy; 08-05-2012 at 07:44 PM..
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 08-06-2012, 04:13 AM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by Physicsguy View Post
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 View Post
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.
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Old 08-06-2012, 11:31 AM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Junior Talker

Posts: 3
Trades: 0
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?
tornprophecy is offline
Reply With Quote
View Public Profile
 
Old 08-06-2012, 02:09 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
Quote:
Originally Posted by vultren View Post
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.
__________________

Please login or register to view this content. Registration is FREE

Last edited by Physicsguy; 08-06-2012 at 02:11 PM..
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 08-06-2012, 02:39 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by Physicsguy View Post
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.
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Old 08-06-2012, 02:43 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
Quote:
Originally Posted by vultren View Post
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!
__________________

Please login or register to view this content. Registration is FREE

Last edited by Physicsguy; 08-06-2012 at 02:45 PM..
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 08-06-2012, 03:28 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by Physicsguy View Post
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>
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Old 08-06-2012, 03:59 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
Physicsguy's Avatar
404 - Title not found

Posts: 1,060
Name: Scott Kaye
Location: Ontario
Trades: 0
Quote:
Originally Posted by vultren View Post
<font color="red">HTML</font>
Ewwww! What is that, ancient script?
__________________

Please login or register to view this content. Registration is FREE
Physicsguy is offline
Reply With Quote
View Public Profile Visit Physicsguy's homepage!
 
Old 08-06-2012, 05:49 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by tornprophecy View Post
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 View Post
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?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-06-2012, 05:59 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
chrishirst's Avatar
Defies a Status

Posts: 43,970
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
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?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-06-2012, 07:18 PM Re: CSS or HTML or PHP for a new site that will integrate api from twitter?
vultren's Avatar
Super Spam Talker

Posts: 790
Name: Tony
Location: Seattle Washington
Trades: 1
Quote:
Originally Posted by Physicsguy View Post
Ewwww! What is that, ancient script?
When I learned to code, we started with what everyone else started with. That.
__________________

Please login or register to view this content. Registration is FREE

"Do or do not, there is no try"
vultren is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to CSS or HTML or PHP for a new site that will integrate api from twitter?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.45521 seconds with 12 queries