Is it better using Parse than setting my own authentication? [closed] - ios

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am using Parse service for my authentication in my iOS application.
I am beginner and I do not have enough information for setting my own authentication server. So far I have made some progress with Parse in my application. So my question is the following.
Should I train myself for learning setting my own server for authentication and implement that in my application or should I just keep going to use Parse? Please note that Parse is letting 1.000.000 api request for month in free edition (I think this is a sufficient number for a application with average user account but I would be happy to see your oppinions).
While it is personal question i would please to see different aspects. So be free to share your ideas.

This is a very personal answer based on my experience and preferences.
Parse is a very good service and idea that allows you to think only to the application and leave out complicated stuff like networking. At the same time it forces you to stay tied with it. So, for example, what could it happen if tomorrow services are limited (not more 1.000.000 API requests) or stopped (I hope not)?
Yes, networking is complicated but also challenging. So, IMHO, if you want to be a good developer, go and create your own service.
To start you can set up a REST architecture where JSON is used for messaging. This is quite simple to achieve in many programming languages (PHP, JAVA, Rails, etc.). Out of there, you can find very good external libraries (like AFNetworking) that can be used to configure the communication in your application.
You can find a complete example where authentication has been set up at Authentication with AFNetworking.
P.S. You can see the video only if you are a subscriber but code is free of charge on Github. Follow the links.
Hope it helps.

Related

tridion translations without sdl products [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have been trying to find an example some where on web on how to do translations in Tridion. I had no luck finding anything except mentioning of Translation Manager. Can someone point to a resource or best practices on how this can be done?
More details: I want to know how people send content for translations and then get it back into tridion. I saw some posts talking about event system. I am looking for a big picture start — localize — export — import — maintenance phases.
This is really the wrong place to ask this question, but I think it deserves a proper answer anyway.
SDL is (among other things) the "Global Information Management" company. Everything SDL does has a language/localization/globalization aspect to it. Including, of course, its translation tools and services.
As such, SDL has created and maintained (for many years) connectors to various CM platforms, and obviously SDL Tridion has a great integration story here. Good details about how it works here, courtesy of Robert Curlette.
If you're trying to integrate Tridion with other language vendors, I suggest you ask the language vendors for such a connector. The Tridion connector was available from SDL before the Tridion acquisition, I suspect that if other language vendors are serious about their connectivity to WCM platforms, they will also offer a connector to Tridion.
If you do not want to go with Translation Manager. I think the only solution is to localise your component in respective publication and do manual entry of publication/country specific content.
For translating your content only you can take help of any third party tools (search over Google).
even in that case also you have to do manual content entry in tridion cms.
In addition to the good comments from Ram and Nuno - You might want to investigate using the Workflow Engine from SDL Tridion. It offers the ability to write your own automated activities (e.g. Send or receive an item for translation via email or web service). This may be an effective solution for you, assuming there are no connectors available for the the translation services you intend to use.

What is the most popular design-patterns in web app [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
What is the most popular design pattern in web app?
I know that in asp.net mvc often used dependency injection and repository, but I want to know which additional patterns can I use in web apps. And it would be best if you give me sample of situation in which I can use patterns, or give code snippet.
Most of the design patterns we've developed as software engineers over the last few decades are still applicable for the situations they were designed for. Depending on your needs you will use most of these in web apps at some point.
http://geekswithblogs.net/subodhnpushpak/archive/2009/09/18/the-23-gang-of-four-design-patterns-.-revisited.aspx
Also below is a link to a site that shows quite a few of these patterns and has explanations / examples. They have their own product, which the site is a shop front for, but the site does have examples and contain code samples so may be worth a visit if you feel like it. most in C#
http://www.dofactory.com/Patterns/Patterns.aspx
Singleton is the most popular pattern. It is also one of best know anti-pattern (patterns that are considered to be harmful).
Every newbie uses it, because it lets you use global state, that looks like object oriented code. It also lets you avoid, that confusing dependency injection thing.
As for the "Gang of Four" book, there has been a movement by some uneducated people to remove the Singleton pattern in latest editions, but the attempts has been successfully thwarted.
Or if you have $28... C# Design Strategies with Jon Skeet
I haven't watched it but I do plan to buy it soon.
edit: IMHO the most popular design pattern in asp.net web development is the Smart UI anti-pattern ;)

Consuming SOAP web services on iOS [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am trying to write applications for iPad which take advantage of web services. I know the concept of a web service and have used it in C#/.NET. I need to know how to do this on an iPad. Can anyone recommend a good book or reading material on webservices for iOS?
If you're using iOS frameworks, your solution will involve using NSURLConnection or NSRLRequest. In-depth Apple documentation can be found here. In my experience, you want to wrap those API calls in your own client request that can build data transfer objects your application logic understands.
If you're looking at 3rd party frameworks to access a RESTful web service, take a peek at this answer for a number of iOS framework options.
For SOAP services, take a look here.
As for processing the data, it depends what kind of data your web service produces. There are several frameworks and libraries that can make it easy to consume XML or JSON.
In my experience, the best book on the subject is Advanced iOS Programming.

About to create my own webshop? Pros and cons [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I want to build an e-commerce application with a bunch of features, as multi-language and currency support and some social interaction between the users (it is a fashion store).
I am doing this basically for learning purposes, but also with the hope of earn a little money with it afterwards.
My question is, do you think with all the solutions out there, it is still worth to start from scratch? Which are the pros and cons, and which frameworks do you suggest?
I tend to use ruby on rails, but I know there are also Java and PHP based solutions, so I wonder about the pros and cons of them here as well...
Thanks in advance.
You can make money selling it to non-developer clients for sure. But if you are trying to make a business of an e-commerce platform you will find rough open source competition.
Check out these options:
PHP:
OpenCart
OSCommerce
Magento
Rails:
Spree
In my case I prepared a web-shop application out of one of the open source ones.
Now for learning it is a good experience start from scratch but it will be difficult to make money of it as a platform unless you do it open source and get paid in advertisement
You'll never learn more than when you build an app that does something you want to do for yourself. If your goal is to learn, go for it.
That said, if your goal is to make money selling stuff, you probably should skip ahead to selling -- use an existing platform like Shopify or Spree and start worrying about what you're going to sell and who is going to buy it. That's a totally different challenge from software development.
Good luck either way.

Ruby or PHP or Php Framework? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 12 years ago.
I am starting a website and am wondering if I should go with PHP, a php framework, or ruby on rails? I want to make a website fast, easiest and without a big learning curve. I already know a little bit of php and a little ruby on rails...But which would be best?
OK so to clarify more on the topic of what my site will be, It's basically a Classified Ads website that needs to have a user login, ability to post classifieds, and categorizing, and basically anything else a classified website has.
I would put my vote in for Rails. It's easy to get started building a website that requires persistence in a database, and there are many websites that host the framework. I agree with #Squeegy that PHP is great for sprinkling dynamic content into an otherwise static page, but it sounds to me that you want something more involved, so I would go with Rails.
Start with anything you know better.
PHP is great for sprinkling bits of dynamic content into a website. Given your requirements "fast, easiest and without a big learning curve" I think PHP would be ideal.
Now a large and more complex site, that would be much better suited to a framework. But with any framework also comes steep learning curve.
Codeigniter.com, try it out, it rocks.

Resources