Ordering Data In A Specific Form?

Fait

Seasoned Veteran
Joined
Oct 15, 2010
Messages
4,407
Reaction score
561
FP$
2,054
Another and quick question I am attempting to make my first Music type site which has become A success so far, Now I am trying to Order the data based on the way the album is structured.

So say if

1: The Metal Song (was the first album on the track by the recording studios)

It would displayed it in that order in the site what would be the best method in getting this organized on the site? it will be one of my top priorities in keeping the albums legit to the actual album launched in the music store.

Thanks Again,

Spudster :.)
 
Wouldn't copy and pasting be the easiest way? So get the album track list from a website and just copy and paste it into your site. There it's ordered correctly 🙂
 
Maybe you can use rss and then format it with xml.
 
I can try.

I'm using PHP to process the order and JQuery to make it load real-life.

I have been suggested to create a album number tablet and order it based on the real album its the only way I guess.
 
Spudster said:
JQuery to make it load real-life

Why would it need to load real-life, if album compilations do not change? I'm just curious as to why you'd be sucking client CPU cycles.
 
I meant real time typo mistakes fixed.

What I did mean was in JQuery when A user clicks on A link/song it will automatically get and load new data.

if you know JS it would be like this for example

$('#whatever').click(function() {
//I do what it needs todo here.


});


Anyone I might use that method as it be the best and only way.
 
Spudster said:
I meant real time typo mistakes fixed.

That's what a refresh button is for.

I know you have good intentions and all, but really, JQuery for that sort of thing is pointless. Sucking CPU cycles to check every, what, 5 seconds for a typo to be fixed is asking for trouble. People browse with mobile devices, I'm sure they, when on Cellular for example, won't want the page to continue to load real-time data after the page has loaded.

We have enough issues with real time transport data (Yes, that chews 3/4G at best)
 
Big sites like Facebook or YouTube reli on Java Script or Something like JQuery if you goto Setting and disable JS the site will now barely or not work.

If i'm calling the click function it will only load data once they click A link or button I will try my best to get it done in the most efficient way.

Instead I can add just add A button that says 'Refresh' once they have clicked it that will get the new data from the server without reloading the whole page.

As specified above the click function will do this.
 
R44 said:
Facebook and Twitter use AJAX.

And jQuery has an AJAX implementation.

Seeing Spudster's posts i see that he is trying to load an album's info once its name is clicked. It won't make any difference to CPU cycles.
 
That was I was saying, If i where to use $AJAX to load the data every X amount of secounds that would make massive changes to the CPU cycle and depending how many users logged in to the webstie at the time.

but using A simple click method won't use nor make any diffrence to the CPU cycles as it just like refreshing the page to get the data it may also be 2 percent better becuase it won't require A page refresh.

As for facebook JQuery has AJAX implementation like Kavin has said.
 
Back
Top Bottom