Discussion:
GSoC 2014 Questions
Yatin Maan
2014-02-27 07:00:18 UTC
Permalink
Hey,
I'm a student looking forward to take part in GSoC 2014 , specifically the
WordCamp Mobile App Project. Part of the app's functionality is to get some
data from the WordCamp website and display it in a mobile friendly manner.

I wanted to know how will this data sourced ?Will the website provide an
API or do we have to poll the website and extract the required data from
the page's HTML code ?

If the site does not have an API , do we have to create one (server
side/backend) or is the task just to create an app (client side/frontend).

Thanks
Marko Heijnen
2014-02-27 19:34:32 UTC
Permalink
Hey Yatin,

Currently there are no API’s yet for that. I once started a bit but ended because of this.
You can find the ticket here https://meta.trac.wordpress.org/ticket/222.

For me this would be a great GSoC project and I would say we probably could have something working by then.
So the focus would then be the app only.

Best,
Marko
Post by Yatin Maan
Hey,
I'm a student looking forward to take part in GSoC 2014 , specifically the
WordCamp Mobile App Project. Part of the app's functionality is to get some
data from the WordCamp website and display it in a mobile friendly manner.
I wanted to know how will this data sourced ?Will the website provide an
API or do we have to poll the website and extract the required data from
the page's HTML code ?
If the site does not have an API , do we have to create one (server
side/backend) or is the task just to create an app (client side/frontend).
Thanks
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yatin Maan
2014-02-28 11:52:24 UTC
Permalink
Hey Marko,
It's great to know that an API is under development.
I was thinking of developing the app using the PhoneGap framework, that way
we can not only speed up development but since PhoneGap uses standard web
technologies (HTML,CSS,JS) the Wordpress community will be able to
contribute to it easily as well.

As of the API , I have some questions (some of these may seem stupid as I
am not good at php) -

1.What does term mean in "get_terms" ?
2.What is the difference between "get_wordcamp" and "get_wordcamps" ?

Thanks,
Yatin
Yatin Maan
2014-02-28 12:09:13 UTC
Permalink
Hey,
Another question,I was looking at the Wordpress GSoC Application Form
and noticed that there is a significant emphasis on php experience and
knowledge. But since this my project does not require excellent php
knowledge , do you think my lack in this respect will hamper my chances of
getting selected in GSoC ?

Thanks,
Yatin
J.D. Grimes
2014-02-28 13:36:43 UTC
Permalink
Post by Yatin Maan
1.What does term mean in "get_terms" ?
A “term” is a generic name for an item in a taxonomy (http://codex.wordpress.org/Taxonomies). For example, categories are the terms in the category taxonomy, and tags are the terms in the tags taxonomy.

-J.D.
Ian Dunn
2014-02-28 14:54:50 UTC
Permalink
Post by Yatin Maan
2.What is the difference between "get_wordcamp" and "get_wordcamps" ?
Hi Yatin, `get_wordcamp()` (singular) would retrieve a complete set of
data on a specific WordCamp, while `get_wordcamps()` (plural) would
retrieve a minimal set of data about all WordCamps.
Post by Yatin Maan
there is a significant emphasis on php experience and knowledge. But
since this my project does not require excellent php knowledge , do you
think my lack in this respect will hamper my chances of getting selected
in GSoC ?

The PHP requirement is highly relevant for most GSoC projects, but the
mobile app is probably an exception to that. Having PHP experience
wouldn't hurt, but I'm guessing that whoever mentors that project will
be looking mostly at your experience with mobile development.
Marko Heijnen
2014-02-28 19:15:32 UTC
Permalink
My vote here is to use native code and not PhoneGap. I know we can use it but for the best user experience it’s best to do this native.
I think doing PhoneGap is a to easy road for GSoC but I can be wrong but I do agree with you that it will make contributing back easier.

Marko
Post by Yatin Maan
Hey Marko,
It's great to know that an API is under development.
I was thinking of developing the app using the PhoneGap framework, that way
we can not only speed up development but since PhoneGap uses standard web
technologies (HTML,CSS,JS) the Wordpress community will be able to
contribute to it easily as well.
As of the API , I have some questions (some of these may seem stupid as I
am not good at php) -
1.What does term mean in "get_terms" ?
2.What is the difference between "get_wordcamp" and "get_wordcamps" ?
Thanks,
Yatin
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Dave Navarro, Jr.
2014-02-28 20:25:01 UTC
Permalink
You can compile PhoneGap into a native app using Adobe CC.
Post by Marko Heijnen
My vote here is to use native code and not PhoneGap. I know we can use it but for the best user experience it’s best to do this native.
I think doing PhoneGap is a to easy road for GSoC but I can be wrong but I do agree with you that it will make contributing back easier.
Marko
Post by Yatin Maan
Hey Marko,
It's great to know that an API is under development.
I was thinking of developing the app using the PhoneGap framework, that way
we can not only speed up development but since PhoneGap uses standard web
technologies (HTML,CSS,JS) the Wordpress community will be able to
contribute to it easily as well.
As of the API , I have some questions (some of these may seem stupid as I
am not good at php) -
1.What does term mean in "get_terms" ?
2.What is the difference between "get_wordcamp" and "get_wordcamps" ?
Thanks,
Yatin
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Marko Heijnen
2014-02-28 21:46:28 UTC
Permalink
I’m talking about native code as in objective-c or Java. I do understand what PhoneGap is and does.
Post by Dave Navarro, Jr.
You can compile PhoneGap into a native app using Adobe CC.
Post by Marko Heijnen
My vote here is to use native code and not PhoneGap. I know we can use it but for the best user experience it’s best to do this native.
I think doing PhoneGap is a to easy road for GSoC but I can be wrong but I do agree with you that it will make contributing back easier.
Marko
Post by Yatin Maan
Hey Marko,
It's great to know that an API is under development.
I was thinking of developing the app using the PhoneGap framework, that way
we can not only speed up development but since PhoneGap uses standard web
technologies (HTML,CSS,JS) the Wordpress community will be able to
contribute to it easily as well.
As of the API , I have some questions (some of these may seem stupid as I
am not good at php) -
1.What does term mean in "get_terms" ?
2.What is the difference between "get_wordcamp" and "get_wordcamps" ?
Thanks,
Yatin
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yatin Maan
2014-03-01 16:10:22 UTC
Permalink
Hey,
I am aware of that performance is not one of PhoneGap's strongest points
but the app we are developing here is simple enough to not be bottlenecks
by PhoneGap. If enough time is invested in optimising the app then it can
achieve almost native speed (Health Tap was featured as an Editor's choice
on the AppStore).
Plus, using PhoneGap we can deploy on multiple platforms ensuring maximum
availability (I am thinking iOS , Android and if time permits Windows
Phone).
And all the apps having a single code base has its own benefits , imagine
bugs are fixed/features are added to iOS versions yet Android is lagging
behind because the particular developer who added the feature doesn't know
Java. What I am trying to say here is that yes PhoneGap Apps are a bit
slow but if enough work is put into it that lag can be overcome (eg you can
remove atleast 300ms delay per touch by using ontouch instead of
onclick) and the benefits provided by PhoneGap far outweigh the concerns.

Now onto some questions,
1. How do compile the iOS App as I don't have an developer account ? (You
need to have a key to
3. Do we need to create special versions for tablets or would stretching be
fine ?
2. How do I debug the iOS App as I don't have an iPhone ? (Though I have
an iPad but its not jail broken and I would need an developer account to
get the app on the iPad.)

Thanks,
Yatin
Yatin Maan
2014-03-03 07:57:22 UTC
Permalink
Anybody there ?
Post by Yatin Maan
Hey,
I am aware of that performance is not one of PhoneGap's strongest points
but the app we are developing here is simple enough to not be bottlenecks
by PhoneGap. If enough time is invested in optimising the app then it can
achieve almost native speed (Health Tap was featured as an Editor's choice
on the AppStore).
Plus, using PhoneGap we can deploy on multiple platforms ensuring maximum
availability (I am thinking iOS , Android and if time permits Windows
Phone).
And all the apps having a single code base has its own benefits , imagine
bugs are fixed/features are added to iOS versions yet Android is lagging
behind because the particular developer who added the feature doesn't know
Java. What I am trying to say here is that yes PhoneGap Apps are a bit
slow but if enough work is put into it that lag can be overcome (eg you can
remove atleast 300ms delay per touch by using ontouch instead of
onclick) and the benefits provided by PhoneGap far outweigh the concerns.
Now onto some questions,
1. How do compile the iOS App as I don't have an developer account ? (You
need to have a key to
3. Do we need to create special versions for tablets or would stretching
be fine ?
2. How do I debug the iOS App as I don't have an iPhone ? (Though I have
an iPad but its not jail broken and I would need an developer account to
get the app on the iPad.)
Thanks,
Yatin
Marko Heijnen
2014-03-03 15:45:53 UTC
Permalink
Hey,

I disagree that the benefits outweighs the concerns but it’s not only for me to decide if PhoneGap is a viable solution for GSoC.
If the mobile team will manage most of it then it should be objective-c since they know that better. Also I’m still unsure if building it with PhoneGap is a two month project.

1. Not having a developer account would mean that you need to buy it. You do earn money with GSoC so I would see it as a investment.
2. We should have a special version for tables.
3. 3 would be solved with 1 but I guess having the ability to borrow a iPhone is probably necessary.

Marko
Post by Yatin Maan
Anybody there ?
Post by Yatin Maan
Hey,
I am aware of that performance is not one of PhoneGap's strongest points
but the app we are developing here is simple enough to not be bottlenecks
by PhoneGap. If enough time is invested in optimising the app then it can
achieve almost native speed (Health Tap was featured as an Editor's choice
on the AppStore).
Plus, using PhoneGap we can deploy on multiple platforms ensuring maximum
availability (I am thinking iOS , Android and if time permits Windows
Phone).
And all the apps having a single code base has its own benefits , imagine
bugs are fixed/features are added to iOS versions yet Android is lagging
behind because the particular developer who added the feature doesn't know
Java. What I am trying to say here is that yes PhoneGap Apps are a bit
slow but if enough work is put into it that lag can be overcome (eg you can
remove atleast 300ms delay per touch by using ontouch instead of
onclick) and the benefits provided by PhoneGap far outweigh the concerns.
Now onto some questions,
1. How do compile the iOS App as I don't have an developer account ? (You
need to have a key to
3. Do we need to create special versions for tablets or would stretching
be fine ?
2. How do I debug the iOS App as I don't have an iPhone ? (Though I have
an iPad but its not jail broken and I would need an developer account to
get the app on the iPad.)
Thanks,
Yatin
_______________________________________________
wp-hackers mailing list
http://lists.automattic.com/mailman/listinfo/wp-hackers
Yatin Maan
2014-03-03 17:06:11 UTC
Permalink
What platforms are expected to be supported ?

Thanks,
Yatin
Benedict, Keith (Digital)
2014-03-03 19:01:14 UTC
Permalink
I saw this thread and thought I’d pop a note on it…

Having just worked through the development of a “Simple” app using phone gap, which is now submitted and undergoing apple review. I have to say I would almost never do it again, and if I did I would not underestimate the numerous issues that are faced with the simplest of tasks.

For instance, something as simple as the status bar in IOS7 versus 6 initially led us to believe we would require a plugin…which didn’t work as advertised, that then led us to add pixels to push the screen down on IOS 7, which again didn’t work as well as advertised. We ended up fussing about this tiny issue for a significant amount of time.

Phone gap makes it easier to deploy apps with no objective-c knowledge. However it does guarantee you can make “Good” apps without this knowledge. Whomever is building the app will need to run Xcode on their Mac OS X system, and likely will be manipulating the delegate.m file to add in some code when it comes to any sort of add-ins like analytics additions, alerts, in-app web browser, etc.. They also need to ensure classes are registered, frameworks added and modify the plist file for various settings. This all of course is depending on your needs, I doubt most apps will make it through without at least one phone gap plugin.

Also the documentation for many of those is horribly inaccurate at times to completely wrong in others. Be warned that developers will need to do their research. We worked on a project that was given 2 months and it took 3 instead after having to work through the “phone gap -isms”.

The alternative to a local build is you can use the build service for phone gap, however….If you are not paying for an account you are restricted to a 10 MB project. If you are paying, you can get up to 50mb project. The trick here is this size is the raw size of all your generated code, media assets and application code for all platforms…so if you have a few mb of assets for each, you’ll nearly start bumping the free limit. So the alternative is to develop the app locally on your Mac OS X machine running Xcode (For IOS builds anyway).

Lastly….just because it helps build multi platform. Expect a lot of “Why doesn’t that work on android…” or “Why doesn’t that work on IOS…” It’s no where near perfect, you have to hand hold both and again with Android you will want someone troubleshooting it with Java experience using the Android SDK on Eclipse…it is incredibly slow, but it is the way it is done.

Our app is completed and going through apple review, it ties into our Wordpress site nicely, and it took a lot of work. I truly think we would have had a better app if we spent the month figuring out issues and learning object-c or java as needed.

Good luck!


On Mar 3, 2014, at 1:19 PM, Marko Heijnen <***@markoheijnen.nl<mailto:***@markoheijnen.nl>> wrote:

Hey,

I disagree that the benefits outweighs the concerns but it’s not only for me to decide if PhoneGap is a viable solution for GSoC.
If the mobile team will manage most of it then it should be objective-c since they know that better. Also I’m still unsure if building it with PhoneGap is a two month project.

1. Not having a developer account would mean that you need to buy it. You do earn money with GSoC so I would see it as a investment.
2. We should have a special version for tables.
3. 3 would be solved with 1 but I guess having the ability to borrow a iPhone is probably necessary.

Marko

Op 3 mrt. 2014, om 08:57 heeft Yatin Maan <***@gmail.com<mailto:***@gmail.com>> het volgende geschreven:

Anybody there ?


On Sat, Mar 1, 2014 at 9:40 PM, Yatin Maan <***@gmail.com<mailto:***@gmail.com>> wrote:

Hey,

I am aware of that performance is not one of PhoneGap's strongest points
but the app we are developing here is simple enough to not be bottlenecks
by PhoneGap. If enough time is invested in optimising the app then it can
achieve almost native speed (Health Tap was featured as an Editor's choice
on the AppStore).
Plus, using PhoneGap we can deploy on multiple platforms ensuring maximum
availability (I am thinking iOS , Android and if time permits Windows
Phone).
And all the apps having a single code base has its own benefits , imagine
bugs are fixed/features are added to iOS versions yet Android is lagging
behind because the particular developer who added the feature doesn't know
Java. What I am trying to say here is that yes PhoneGap Apps are a bit
slow but if enough work is put into it that lag can be overcome (eg you can
remove atleast 300ms delay per touch by using ontouch instead of
onclick) and the benefits provided by PhoneGap far outweigh the concerns.

Now onto some questions,
1. How do compile the iOS App as I don't have an developer account ? (You
need to have a key to
3. Do we need to create special versions for tablets or would stretching
be fine ?
2. How do I debug the iOS App as I don't have an iPhone ? (Though I have
an iPad but its not jail broken and I would need an developer account to
get the app on the iPad.)

Thanks,
Yatin
Bryan Petty
2014-03-03 22:22:40 UTC
Permalink
I'd just like to note that Keith has some very good points here, and
just to add to that...

On Mon, Mar 3, 2014 at 12:01 PM, Benedict, Keith (Digital)
The alternative to a local build is you can use the build service for phone gap, however....If you are not paying for an account you are restricted to a 10 MB project. If you are paying, you can get up to 50mb project.
Things like this make it prohibitive for other contributors to get
involved, or for the core team to continue maintenance on the
application. This doesn't work well for an open source project.

It's just not something I think the core team wants to commit to,
especially not with the existing native projects already in place,
which are already doing a great job overall.

Regards,
Bryan Petty
Yatin Maan
2014-03-04 06:02:28 UTC
Permalink
Hey,
What are your thoughts on using the following -

Steroids.js - Semi-Native, Transitions, Tabs and Nav Bars are native (top
bar & bottom bar) while everything else is rendered in a web view. Has only
partial native support on Android.

Titanium - As native as it gets without loosing cross-platform
capabilities. You basically call native functions using JS, has no web
views all the rendering is native and therefore can achieve 60 fps.

Thanks,
Yatin

Loading...