<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Geekist.co - Latest Comments</title><link>http://jasonnathan.disqus.com/</link><description></description><atom:link href="https://jasonnathan.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 19 Dec 2016 17:22:36 -0000</lastBuildDate><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059908062</link><description>&lt;p&gt;Ok thanks Jason, I will look into it.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackson</dc:creator><pubDate>Mon, 19 Dec 2016 17:22:36 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059901426</link><description>&lt;p&gt;I've read that it is possible to instantiate a store per route (and it some places, it is recommended) Perhaps you can wrap your provider around each route rather than something global since this will be valid in your use case.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Mon, 19 Dec 2016 17:18:21 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059878578</link><description>&lt;p&gt;As far as I can tell, you cant set something like user: { username: 'johndoe' } directly on ApolloClient without an apollo query.&lt;/p&gt;&lt;p&gt;My Redux version looked something like this on the server:&lt;/p&gt;&lt;p&gt;const currentUser = getUserByHostname(&lt;a href="http://req.headers.host" rel="nofollow noopener" target="_blank" title="req.headers.host"&gt;req.headers.host&lt;/a&gt;)&lt;br&gt;const initialState = { currentUser }&lt;br&gt;const store = configureStore(initialState, client)&lt;/p&gt;&lt;p&gt;     &amp;lt;apolloprovider store="{store}" client="{client}"&amp;gt;&lt;br&gt;        &amp;lt;routercontext {...renderprops}=""/&amp;gt;&lt;br&gt;     &amp;lt;/apolloprovider&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackson</dc:creator><pubDate>Mon, 19 Dec 2016 17:03:59 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059871967</link><description>&lt;p&gt;No, I'm missing something!&lt;/p&gt;&lt;p&gt;So I can access the req headers on the server, but then what happens when the client takes over after the initial render? I had a non meteor version working but I had to use Redux to set the store on the server and then used that in my quries.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackson</dc:creator><pubDate>Mon, 19 Dec 2016 16:59:58 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059859027</link><description>&lt;p&gt;On the server, you'd have access to the request headers right? Or am I missing something else here?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Mon, 19 Dec 2016 16:52:14 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3059790754</link><description>&lt;p&gt;Thanks for the great article Jason, this works perfectly!&lt;/p&gt;&lt;p&gt;Do you have any thoughts on how you might access the hostname in a isomorphic setup?&lt;/p&gt;&lt;p&gt;My app looks up the current user by subdomain which is then used in the apollo queries, but I cant find an isomorphic way to do this. i.e something like window.location.hostname in the components obviously wont work when rendered on the server.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jackson</dc:creator><pubDate>Mon, 19 Dec 2016 16:12:09 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3033184808</link><description>&lt;p&gt;Sure but this article is about using it with Meteor, hence `meteor-react-router-ssr`. If you're using that then the modified version of the repo is at &lt;a href="https://github.com/jasonnathan/meteor-react-router-ssr" rel="nofollow noopener" target="_blank" title="https://github.com/jasonnathan/meteor-react-router-ssr"&gt;https://github.com/jasonnat...&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;You can find an isomorphic `index.jsx` I used to wire everything together in this website's main repo here &lt;a href="https://github.com/jasonnathan/www.jasonnathan.com" rel="nofollow noopener" target="_blank" title="https://github.com/jasonnathan/www.jasonnathan.com"&gt;https://github.com/jasonnat...&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Is this what you're looking for? Are you only using react-router? If so, which version?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Sat, 03 Dec 2016 13:03:51 -0000</pubDate></item><item><title>Re: How to SSR with apollostack and meteor-react-router-ssr</title><link>http://dev.jasonnathan.com//article/reactjs/how-to-ssr-with-apollostack-and-meteor-react-router-ssr#comment-3032940584</link><description>&lt;p&gt;I found you recently posted a article that is related to react-router-ssr with apollo ssr.&lt;br&gt;I wonder if you could upload a sample project to github to show how to do it? It is because my existing project is also using react-router-ssr, apollo, redux, but I have not idea how to hack into it.&lt;/p&gt;&lt;p&gt;And I believe many people would love to know how to do that.&lt;/p&gt;&lt;p&gt;Many thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">anson</dc:creator><pubDate>Sat, 03 Dec 2016 09:47:31 -0000</pubDate></item><item><title>Re: Private: Read.sg</title><link>http://geekist.co/2011/06/read-sg/#comment-225689385</link><description>&lt;p&gt;this sounds like an awesome plan ... easy to setup and purposeful .... &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chrishenbijay</dc:creator><pubDate>Tue, 14 Jun 2011 09:58:21 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057924</link><description>&lt;p&gt;Hey Imran , sorry I don't have an example right now. What problems are you having? Did you create the WP Admin menus and specify a callback function like I did above? Also, all the class files must be included in your plugin loader file. IE, &lt;/p&gt;&lt;pre&gt;include_once('my_class_file.php'):&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Sat, 28 May 2011 16:26:14 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057923</link><description>&lt;p&gt;Hey Denis, thanks for your comment. The class is 'auto loaded' through the &lt;/p&gt;&lt;pre&gt;$request_handler&lt;/pre&gt;&lt;p&gt;. When you create your plugin menus, you'd have to define a callback function. In this case the callback function is &lt;/p&gt;&lt;pre&gt;public function request_handler()&lt;/pre&gt;&lt;p&gt; method in the example above. That method decides which of your controllers (classes) to instantiate.&lt;br&gt;And of course you can use it!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Sat, 28 May 2011 15:20:08 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057920</link><description>&lt;p&gt;hi ,&lt;br&gt;i just try to use your router but it not work properly .&lt;br&gt;when i use the following url is not go to the specific action &lt;br&gt;&lt;/p&gt;&lt;pre&gt;localhost/wp2/test5/wp-admin/admin.php?page=?page=my_crm_opportunities&amp;amp;action=edit&amp;amp;id=1&lt;/pre&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;can you give me , your any  sample  plugin with the router ? it will be helpfull to understand your router . Please send me it ASAP .&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">imran</dc:creator><pubDate>Sun, 08 May 2011 15:03:54 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057918</link><description>&lt;p&gt;I'd like to know where you instantiate the 'my_crm_main' in order to make it load and execute the constructor procedures.&lt;br&gt;Do you set an instance of it in the same php file after or before you declare the class, like this?&lt;/p&gt;&lt;pre&gt;class my_crm_main {&lt;br&gt;    ...&lt;br&gt;}&lt;br&gt;$my_crm_main = new my_crm_main();&lt;/pre&gt;&lt;p&gt;&lt;br&gt;I don't see a way to instantiate a plugin class in Wordpress if not by these means, so I'm very curious to know how you made it.&lt;/p&gt;&lt;p&gt;BTW, this is an awesome post, and I'll make use of your example if you permit me.&lt;/p&gt;&lt;p&gt;Thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Denis Brat</dc:creator><pubDate>Wed, 16 Mar 2011 20:58:58 -0000</pubDate></item><item><title>Re: The Best Man &amp;#038; Maid of Honour</title><link>http://geekist.co/?p=73#comment-217046968</link><description>&lt;p&gt;Oh Thanks, that was real important!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jason Nathan</dc:creator><pubDate>Thu, 06 Jan 2011 01:34:10 -0000</pubDate></item><item><title>Re: The Best Man &amp;#038; Maid of Honour</title><link>http://geekist.co/?p=73#comment-217046967</link><description>&lt;p&gt;Also, the baker's name was Sam.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pooja Nansi</dc:creator><pubDate>Wed, 05 Jan 2011 20:50:57 -0000</pubDate></item><item><title>Re: The Best Man &amp;#038; Maid of Honour</title><link>http://geekist.co/?p=73#comment-217046965</link><description>&lt;p&gt;That is a beautiful picture of me and Caroline, I've never seen it before. Makes me smile.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pooja Nansi</dc:creator><pubDate>Wed, 05 Jan 2011 20:50:17 -0000</pubDate></item><item><title>Re: The Best Man &amp;#038; Maid of Honour</title><link>http://geekist.co/?p=73#comment-217046961</link><description>&lt;p&gt;How time flies man.... 4 yrs so quickly.. Thinking back on the stag-night, yeh man it was an epic night. Everyone was drunk shitless. I have to admit, i haven't had a night out that good since then man.&lt;/p&gt;&lt;p&gt;As for spending money and making it all happen.... Come on bro. It's the bro's code.....&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Chrishen</dc:creator><pubDate>Mon, 03 Jan 2011 09:36:03 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057916</link><description>&lt;p&gt;Thanks. I have been too busy.., but do miss my blog... :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jasonnathan</dc:creator><pubDate>Wed, 08 Dec 2010 00:59:15 -0000</pubDate></item><item><title>Re: WordPress MVC Plugin Development Part 1</title><link>http://geekist.co/2010/09/wordpress-mv-plugin-development-part-1/#comment-217057915</link><description>&lt;p&gt;Interesante, no va a continuar con este artнculo? &lt;br&gt;Gracias&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ivan</dc:creator><pubDate>Thu, 28 Oct 2010 17:30:21 -0000</pubDate></item></channel></rss>