Implement functions in web2py application using jQuery

Asked

Viewed 58 times

0

Hello. I don’t know if it’s the correct term, but I have an application made using web2py as a framework. I know absolutely nothing about jQuery but the homepage of the site that I created is taking a long time to load and I wanted to try using that Infinite Scroll function and every text I see around it uses jQuery. So I’m willing to learn the basics in order to understand the snippets that make this function possible.

I wonder if I would have to learn just jQuery or is it necessary to learn some other language to implement the Infinite scroll in the application - I ask this because whenever I see something about jQuery, at some point Ajax appears together - and if it is quiet and intuitive, once learned the necessary, let everything work in an existing application.

Thank you very much.

1 answer

0


The answer must come from yourself. And the question to ask is:

want to understand the code that runs on my page?

  • Yes!

So learning and using a library like jQuery or Mootools is a good idea because it saves a lot of code. Speeds up the writing of a code that makes this feature.

  • No!

Pay someone to do it for you.


  • In case I want to, but what I wanted to know initially is if web2py and jquery is quiet and if I would have to learn jquery only or jquery more ajax, you know? Do you have any idea about that?

  • @duarthiago depends a lot on what you want and you know very little for this question to make sense. Not that I want to discourage you from asking. Asking is good and that’s how I learned, but in this case it’s not easy to answer. One thing is certain, the functionality you want has nothing to do with ajax. And by the way, you could even do this with CSS Transitions and a simple javascript line (no jQuery) that fires the scroll and CSS does the rest...

  • I understand. But I found interesting this possible alternative that you mentioned. I’m going to do some research on this. Thank you very much.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.