Jump to content

Jonathan Lahijani

Members
  • Posts

    635
  • Joined

  • Last visited

  • Days Won

    24

Posts posted by Jonathan Lahijani

  1. Hey all,

    Here's a demo of what I've built.  It's become my primary bookmarking system:

    I didn't demonstrate it in the video, but this system works amazingly on a mobile device too.  It's so easy and quick to pull up stuff I want to read when at a coffee shop or have a few minutes to kill when on the go.  I found Diigo's Android App very limiting in comparison, especially since it doesn't allow you to view all of your bookmarks on the mobile app (last time I checked).

    I have no plans as of yet to release this, but I may in the near future if you are all really interested.  There are features I still want to build out as well as a lot of code cleanup and security measures that need to be implemented.

    Enjoy!

    Jonathan

    • Like 14
  2. Is anyone here a heavy bookmarker like I am?

    Typically I'll get most of my news from Hacker News and Slashdot, followed by some great blogs on a daily basis.  I usually never have time to read an article in depth when I first come across it, so I'll bookmark it for later.  Or, if I quickly need to get up to date on some topic, I'll do a search (usually by tags) and familiarize myself with important stuff I've bookmarked in the past.

    After having used browser native based bookmarking (Firefox and Chrome), then Delicious, then Diigo, then Pinboard and becoming frustrated by all of them for various reasons and limitations, I've decided to roll my own little single user (and non social) bookmarking system with ProcessWire (with Bootstrap 3 as the frontend framework).  It's still a work in progress, but it takes the best of all those systems with my own power features.  It also utilizes ajax for certain actions.

    I'll need to create a Chrome extension to tie it all together.

    I have to say however, after working non-stop on it for hours on end and not being able to think of anything else, it's looking slick.  Damn you ProcessWire for making this so enjoyable. :-)

    Jonathan

    • Like 13
  3. I agree, cookies would be the way to set this up. You'd just set a cookie with the user's name and pre-populate the field with the name from the cookie (after sanitizing it with $sanitizer->pageName). You could do this with PHP or Javascript. But I'd probably use PHP just because the logic of figuring out when to store the value (after login) would be simpler from the PHP side.

    Isn't the idea you described just to remember a user's username in a cookie, even after they've logged out, so that it'd prepopulate a login form with their name?

    What would be the best approach for truly keeping them signed in (unless they specifically log out), even after they've closed their browser?  Basically a "Remember Me" feature much like WordPress or other web apps (Google, etc.) where it expires after a couple weeks.

    I'm having difficulty with this.

×
×
  • Create New...