choosing right project template - templates

i've a proect opening with user authentication page (asking username and password). There are some extra buttons here which the app navigate to a single page when the user clicks (up to that point there is no need for table view but from those sub screens app can navigte back to that main page). In addition, if user is authenticated then the app will navigate to a page which lists some items on it (table view) and then navigate to some detail views back and forward. And i also want my app to have core data support.
Navigation based or window-based are two major possibilities, aren't they?
thanks

It sounds like you are building a navigation based app. If you look at your app without the login page, it sounds like a textbook navigation based app. Generally a login page will be handled by just using presentModalViewController on top of your existing navigation controller.

Related

Oracle-Apex: Dynamically redirecting from login button

The scenario
I have implemented social authentication similarly to described by Dimitri Gielisin hist post "Facebook, Google and Custom Authentication in the same Oracle APEX 18.1 app" (http://dgielis.blogspot.com/2018/06/facebook-google-and-custom.html)
The pertinent point is that there is a button which has the request 'APEX_AUTHENICATION=FACEBOOK' which logs the user in and also hard codes the page that the user is taken to.
It works great. (However if I have a login menu item which directs back to the same page - the user name isn't updated on the page.)
The Issue
Default behaviour is for apex to redirect users to the login page when they attempt to access a page which is not publicly available.  After logging in the user is taken to the page hard coded page in the button (except for modal dialogues which just produce an invalid session error). 
I'd love it if they could sign in and then continue to the page they need to go to. Is there some not extremely cumbersome ways of doing that? I thought of trying to saving the page number I want the user to go to into an application item and then having the button redirecting based on the application item- but while I was saving the page number the dynamic redirect in the button is not working...and I feel like I'm fighting the apex framework...
Is there a better way? If not can a button reference an item for the page number? I was trying &APP_ITEM. but that didn't seem to work...
(I"m using Apex 20.1)

MS Access Web App: Link existing view to table

I have created a new view ("form") in my Access Web App using the menu buttons to create a new view. The view is bound to a table in my database. Running Access on my computer, I can select the view from the navigation panel on the left.
Now I would like to have a link to my view appear at the top of the page in the Web App. Much like the default List and Datasheet view that are created automatically for every new table.
How can I create a link to my view, so that I can select it when running my Web App in the browser?
(And in general: where's a good place to find documentation and help regarding Access Web Apps. I'm having a hard time finding anything online)
thanks for your help.
What entry point did you use to create this new view in your Access web app? If you used the Advanced button on the ribbon, that creates what we call a standalone view in your web app - a view that exists in the Navigation Pane in Access client. You can only open these types of views using macros.
In order to "associate" an existing standalone view to the View Selector at the top of the navigation, right-click the view name in the Navigation Pane and select Duplicate. a dialog box will appear that allows you to create an identical copy of the view and "associate" it with a particular table. It will then appear as a link in the View Selector. You can then delete the original view if you want.

Customizing Icons at the top of the Page

I'm maintaining a Facebook iFrame application, and my client is worried about the transition to Timeline. Basically, they want their home page to have a big icon next to 'Photos' that takes the user to the page hosting the iFrame. The tricky thing is that users can "pledge" within the app, and they want the link icon to look different depending on whether or not the user has pledged within the app. Is there any way to do this?
Assuming the answer is no, is there a way to add a second icon for the iFrame app so that I can customize one to look different? Or would I need to set up another page hosting the same iFrame?
Thanks!
Go to Fan Page Timeline, click the arrow on the half box to the right of photos, likes etc (assuming you haven't changed the order of the apps), hover over the icon you want to change and click on the pencil icon that shows up in the top right corner. Then click "edit settings". Here you can change the tab image or give the tab a custom name.
alternatively you can enter the edit page settings, go to the apps section, edit the app, and you can change the icon from there.
in either case, you will need to be a page admin to complete the task.
Update on 4/12
Facebook just added the functionality for developers to set a default image. Here is the post in the Developer Blog.

How to install custom tabs for facebook pages?

I have created some custom tabs for facebook pages, like when the user clicks on the add custom tabs, im fetching the user pages but how can i make them to install the custom tab to the particular page on which he clicks.
li.innerHTML = "Name: <a href='http://facebook.com/"+page.id+"'>"+page.name+"</a>";
From the above code, i could get only the list of user pages, among them when the user clicks on a particular page (i.e.,page1), it should direct them to their page1 profile by adding the custom tab. How can i make them to install the custom tabs?
If you have the manage_pages permission from the user, you can add your app to their page via the API - see here:
https://developers.facebook.com/docs/reference/api/page/#tabs
There's no other way to automate it, and using static links are you're suggesting above is prone to break if the Facebook web interface ever changes.

Help with design a facebook integration for my website.. App or Page?

I´m building a website to post my own videos using JW Player running my own ads as overlay.
www.planetsnowmobile.com
All my videos will be
Instead of register my own users, having my own forum etc etc I want to use facebook to interact with my visitors:
Individual discussions/comments on individual films instead of my own comment/forum-function
facebook-like-button for individual films (so induvidual like buttons for individual films)
Share induvidual films
Grab location from every unique visitor
Where do I start?
Do I need to create an application or should I use a Facebook "page"?
Maybe both?
I see that i can add an application to a "page" but what does that really do? How do I use that?
What would be the best way for me to do this?
I already have a Facebook "page" for my website and I just created an App as well.
Which one should I use?
Do I need both?
What is the difference?
I know that I can create a like button for a website address on http://developers.facebook.com/docs/reference/plugins/like/
But can I monitor that like button from example an application if I can connect them somehow?
Is that something I want to do?
My Facebook-page already have a user-base where my Facebook-application does not.. is my best option to delete my "page" and start all over with my "application"?
App is their encompassing term for any application that uses their API, this could be on Facebook or on your own personal website - these require an API key to make authenticated calls for users. Pages are FB's own in-Facebook content that users have created, like page for a business located at facebook.com/mybusiness. It sounds like you already have a website and want to add Facebook functionality to it, so you don't want to make another Page. You may not even need to create an App. Things like comment boxes and like buttons can be dropped in as stand-alone copy-and-paste widgets. You can track the like button by enabling FB insights for your website.
So like you noticed you can add a like button to your page using the social plugin from http://developers.facebook.com/docs/reference/plugins/like/ - similar to the like button you can add comment boxes with the plugin at http://developers.facebook.com/docs/reference/plugins/comments/
You can track the results from these plugins by adding your website to Facebook's analytics (Insights) at http://www.facebook.com/insights/
Most of these things are powered by the opengraph metadata in the headers of your website's pages. You can read up on what tags FB uses here http://developers.facebook.com/docs/opengraph/
Everything at http://developers.facebook.com/docs/plugins/ can be used without an application or page ID, and is very good about being responsive to the page they are hosted on: you can add a like button to your video view template without a defined URL in the like button's parameters, and it will automatically direct any likes to the url of the currently viewed video.
You could also direct a like button to point to your existing FB Page, in which case any likes collected from it would be added to the Page's total. Most companies that have a home-page like button do this, so their likes all accumulate to a single total for their business.
Hope that helps.